projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
checking to make sure it's operating in a svn directory now.
[feisty_meow.git]
/
scripts
/
rev_control
/
svn_rm_dupes.sh
diff --git
a/scripts/rev_control/svn_rm_dupes.sh
b/scripts/rev_control/svn_rm_dupes.sh
index 294c779862e0562a1b41b8591bfa6f155c92b71b..404ad073be4aaf19e1c9cc18a7ee7b622d8530f0 100644
(file)
--- 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
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
# do the real work now...
for i in *; do
if [ -f "$exemplar_dir/$i" ]; then