<sigh> paths

why do I touch these things, ever?
This commit is contained in:
Seth Vidal 2013-06-05 22:17:59 +00:00
parent 3cd41e59a3
commit bb1b58c20b

View file

@ -38,11 +38,13 @@ then
quit "$0 source dest"
fi
newlock $1
lockname=`basename $1`
newlock $lockname
if [ ! -d $2 ]
then
mkdir $2
fi
/usr/bin/rsync -a $HOST::$1/* $2
cleanlock $1
cleanlock $lockname