summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'z-distfiles/scripts-gw/svn-del')
-rwxr-xr-xz-distfiles/scripts-gw/svn-del20
1 files changed, 20 insertions, 0 deletions
diff --git a/z-distfiles/scripts-gw/svn-del b/z-distfiles/scripts-gw/svn-del
new file mode 100755
index 0000000..8871cd6
--- /dev/null
+++ b/z-distfiles/scripts-gw/svn-del
@@ -0,0 +1,20 @@
+#/bin/bash
+
+FILES=`svn status | sed -e '/^[^!]/d
+ s/^!//
+ s/^ *//
+ s/ /\\ /'`
+
+for FL in ${FILES}
+ do
+ echo ${FL}
+done
+
+if [ "${1}" = "do" ]; then
+ if [ "x${FILES}" != "x" ]; then
+ for FL in ${FILES}
+ do
+ svn del "${FL}"
+ done
+ fi
+fi