aboutsummaryrefslogtreecommitdiff
path: root/handlers/pgsql
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/pgsql
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/pgsql')
-rw-r--r--handlers/pgsql4
1 files changed, 2 insertions, 2 deletions
diff --git a/handlers/pgsql b/handlers/pgsql
index fb8fa4f..23e2c2b 100644
--- a/handlers/pgsql
+++ b/handlers/pgsql
@@ -62,9 +62,9 @@ fi
# give backup dir the good uid and permissions
# (in respect to the vserver, if $usevserver = yes)
if [ $usevserver = yes ]; then
- pguid=`$VSERVER $vsname exec getent passwd $PGSQLUSER | awk -F: '{print $3}'`
+ pguid=`$VSERVER $vsname exec getent passwd $PGSQLUSER | @AWK@ -F: '{print $3}'`
else
- pguid=`getent passwd $PGSQLUSER | awk -F: '{print $3}'`
+ pguid=`getent passwd $PGSQLUSER | @AWK@ -F: '{print $3}'`
fi
[ -n "$pguid" ] || \
fatal "No user called $PGSQLUSER`[ $usevserver = no ] || echo \" on vserver $vsname\"`."