diff options
author | Joerg Jaspert <joerg@debian.org> | 2008-09-27 22:40:20 +0200 |
---|---|---|
committer | Joerg Jaspert <joerg@debian.org> | 2008-09-27 22:40:20 +0200 |
commit | 3ee232707e37f5db3d80edeb69f83de3c7aab056 (patch) | |
tree | c198a9040612fee0c9c3c0bc14420c0d2ce71a72 /bin/ftpsync | |
parent | 54d65b160b62bce29bca3e6351d505654a27b2ca (diff) |
Dont use $0, use $NAME
Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin/ftpsync')
-rwxr-xr-x | bin/ftpsync | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ftpsync b/bin/ftpsync index 0799645..8bf1bfd 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -49,7 +49,7 @@ NAME="`basename $0`" ######################################################################## HOSTNAME=${HOSTNAME:-`hostname -f`} LOGDIR=${LOGDIR:-"${HOME}/log"} -LOG=${LOG:-"${LOGDIR}/$0.log"} +LOG=${LOG:-"${LOGDIR}/${NAME}.log"} TO="/org/ftp.debian.org/ftp/" # used by log() |