projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9be891a
)
checking to make sure it's operating in a svn directory now.
author
Chris Koeritz
<fred@gruntose.com>
Mon, 16 Jan 2012 09:51:01 +0000
(
04:51
-0500)
committer
Chris Koeritz
<fred@gruntose.com>
Mon, 16 Jan 2012 09:51:01 +0000
(
04:51
-0500)
scripts/rev_control/svn_rm_dupes.sh
patch
|
blob
|
history
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
+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