aboutsummaryrefslogtreecommitdiff
path: root/handlers/ldap
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/ldap
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/ldap')
-rw-r--r--handlers/ldap2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers/ldap b/handlers/ldap
index 242755e..5f9040a 100644
--- a/handlers/ldap
+++ b/handlers/ldap
@@ -27,7 +27,7 @@ status="ok"
[ -d $backupdir ] || mkdir -p $backupdir
[ -d $backupdir ] || fatal "Backup directory '$backupdir'"
-dbsuffixes=(`awk 'BEGIN {OFS=":"} /[:space:]*^database[:space:]*\w*/ {db=$2}; /^[:space:]*suffix[:space:]*\w*/ {if (db=="bdb"||db=="ldbm") print db,$2}' $conf|sed -e 's/[" ]//g'`)
+dbsuffixes=(`@AWK@ 'BEGIN {OFS=":"} /[:space:]*^database[:space:]*\w*/ {db=$2}; /^[:space:]*suffix[:space:]*\w*/ {if (db=="bdb"||db=="ldbm") print db,$2}' $conf|@SED@ -e 's/[" ]//g'`)
## LDIF DUMP