aboutsummaryrefslogtreecommitdiff
path: root/lib/vserver.in
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2007-02-23 18:04:04 +0000
committerMicah Anderson <micah@riseup.net>2007-02-23 18:04:04 +0000
commit05c26446ed65681528387f6c66473c61eebe7224 (patch)
treebbbd9bfce2bda17e0d399d1c97959c4a2937c6eb /lib/vserver.in
parentd15a347be54fea3ae44c595b454b22fb41149271 (diff)
downloadbackupninja-05c26446ed65681528387f6c66473c61eebe7224.tar.gz
backupninja-05c26446ed65681528387f6c66473c61eebe7224.tar.bz2
updated autotools abstraction to properly pick up different awk, sed,
and md5sum locations
Diffstat (limited to 'lib/vserver.in')
-rw-r--r--lib/vserver.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vserver.in b/lib/vserver.in
index 8ac7b7e..f65bd4c 100644
--- a/lib/vserver.in
+++ b/lib/vserver.in
@@ -33,7 +33,7 @@ init_vservers() {
getconf vservers no
getconf VSERVERINFO /usr/sbin/vserver-info
getconf VSERVER /usr/sbin/vserver
- getconf VROOTDIR `if [ -x "$VSERVERINFO" ]; then $VSERVERINFO info SYSINFO | grep '^ *vserver-Rootdir' | awk '{print $2}'; fi`
+ getconf VROOTDIR `if [ -x "$VSERVERINFO" ]; then $VSERVERINFO info SYSINFO | grep '^ *vserver-Rootdir' | @AWK@ '{print $2}'; fi`
# canonicalize VROOTDIR
[ -z "$VROOTDIR" ] || VROOTDIR=`readlink --canonicalize $VROOTDIR`
# init this library's global variables