Skip to content
Snippets Groups Projects
Commit 24f0caf2 authored by Marcel Loose's avatar Marcel Loose :sunglasses:
Browse files

BugID: 350

Fixed bug in 'lofarcvsmv -recursive' that triggered a spurious warning.
parent 306b361e
No related branches found
No related tags found
No related merge requests found
......@@ -209,7 +209,7 @@
# Recursive.
# Check that the destination is not a subdirectory of the source.
rest=`echo $DESTINATION | sed "s%$SOURCE%%"`
rest=`echo $DESTINATION | sed "s%$SOURCE/%%"`
if [ "$rest" != "$DESTINATION" ]; then
echo "destination is a subdirectory of the source directory" 1>&2
echo -n "Do you really want this? (y,n) [n]: " 1>&2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment