# HG changeset patch # User Heiko Schlittermann (JUMPER) # Date 1428495317 -7200 # Node ID cf206250b72712b9d85b367f860e1c9e96ab240b # Parent 798ff6b6ada25e9048f3a2a99ed410469c7104ee fixed relative destination directory diff -r 798ff6b6ada2 -r cf206250b727 ldap-backup --- a/ldap-backup Fri Jan 30 00:55:43 2015 +0100 +++ b/ldap-backup Wed Apr 08 14:15:17 2015 +0200 @@ -11,7 +11,7 @@ if test -t 0; then # terminal/interactive - destination=${1:?Need destination directory} + destination=$(readlink -f ${1:?Need destination directory}) else # cron destination=${1:-/var/backups/ldap}