diff options
Diffstat (limited to 'z-distfiles/scripts-gw/svn-add')
-rwxr-xr-x | z-distfiles/scripts-gw/svn-add | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/z-distfiles/scripts-gw/svn-add b/z-distfiles/scripts-gw/svn-add new file mode 100755 index 0000000..79aaea7 --- /dev/null +++ b/z-distfiles/scripts-gw/svn-add @@ -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 add "${FL}" + done + fi +fi |