X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Frev_control%2Fsvn_rm_dupes.sh;h=404ad073be4aaf19e1c9cc18a7ee7b622d8530f0;hb=97c4b29f11edd9381ab184ba2ac57725060baf78;hp=294c779862e0562a1b41b8591bfa6f155c92b71b;hpb=19fb3cccbb058c9fb59eff0d66a1f93671d31490;p=feisty_meow.git diff --git a/scripts/rev_control/svn_rm_dupes.sh b/scripts/rev_control/svn_rm_dupes.sh index 294c7798..404ad073 100644 --- a/scripts/rev_control/svn_rm_dupes.sh +++ b/scripts/rev_control/svn_rm_dupes.sh @@ -54,6 +54,11 @@ if [ "$current_dir" == "$the_good_place" ]; then exit 4 fi +if [ ! -d ".svn" ]; then + echo "Could not find a subversion directory; operation would be pointless." + exit 1 +fi + # do the real work now... for i in *; do if [ -f "$exemplar_dir/$i" ]; then