aboutsummaryrefslogtreecommitdiff
path: root/handlers/mysql
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 /handlers/mysql
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 'handlers/mysql')
-rw-r--r--handlers/mysql8
1 files changed, 4 insertions, 4 deletions
diff --git a/handlers/mysql b/handlers/mysql
index b3d0a73..de4e4c3 100644
--- a/handlers/mysql
+++ b/handlers/mysql
@@ -90,10 +90,10 @@ if [ "$dbusername" != "" -a "$dbpassword" != "" ]
then
if [ $usevserver = yes ]
then
- vhome=`$VSERVER $vsname exec getent passwd "root" | awk -F: '{print $6}'`
+ vhome=`$VSERVER $vsname exec getent passwd "root" | @AWK@ -F: '{print $6}'`
home="$vroot$vhome"
else
- home=`getent passwd "root" | awk -F: '{print $6}'`
+ home=`getent passwd "root" | @AWK@ -F: '{print $6}'`
fi
[ -d $home ] || fatal "Can't find root's home directory ($home)."
@@ -144,14 +144,14 @@ else
userset=true;
if [ $usevserver = yes ]
then
- vuserhome=`$VSERVER $vsname exec getent passwd "$user" | awk -F: '{print $6}'`
+ vuserhome=`$VSERVER $vsname exec getent passwd "$user" | @AWK@ -F: '{print $6}'`
if [ $? -eq 2 ]
then
fatal "User $user not found in /etc/passwd"
fi
userhome="$vroot$vuserhome"
else
- userhome=`getent passwd "$user" | awk -F: '{print $6}'`
+ userhome=`getent passwd "$user" | @AWK@ -F: '{print $6}'`
if [ $? -eq 2 ]
then
fatal "User $user not found in /etc/passwd"