Removed comment, added quoting

This commit is contained in:
Nico Schottelius 2005-12-13 14:41:40 +01:00
parent a0f9cfd95e
commit 0d85c67357
1 changed files with 1 additions and 2 deletions

View File

@ -264,7 +264,6 @@ while [ "$i" -lt "$no_shares" ]; do
# only copy if a directory exists # only copy if a directory exists
if [ "$last_dir" ]; then if [ "$last_dir" ]; then
# echo cp -al "$last_dir" "$destination_dir"
cp $VERBOSE -al "$last_dir" "$destination_dir" cp $VERBOSE -al "$last_dir" "$destination_dir"
else else
mkdir "$destination_dir" mkdir "$destination_dir"
@ -280,7 +279,7 @@ while [ "$i" -lt "$no_shares" ]; do
# options stolen shameless from rsnapshot # options stolen shameless from rsnapshot
# #
rsync -a $VERBOSE --delete --numeric-ids --relative --delete-excluded \ rsync -a "$VERBOSE" --delete --numeric-ids --relative --delete-excluded \
"$EXCLUDE" "$source" "$destination_dir" "$EXCLUDE" "$source" "$destination_dir"
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then