X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=contrib%2Fcommit-trunks.sh;fp=contrib%2Fcommit-trunks.sh;h=5c44decb10a9d5577618f56db985c91c334065c8;hp=0000000000000000000000000000000000000000;hb=d2d298a1fcc6217a93e7d67f0de7b976d5bfd5e7;hpb=421d8c20ff4014ddae23e61b6654666b039bf00d diff --git a/contrib/commit-trunks.sh b/contrib/commit-trunks.sh new file mode 100755 index 00000000..5c44decb --- /dev/null +++ b/contrib/commit-trunks.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +if test "$1" = ""; then + echo "Usage: $0 \"\"" + exit 1 +fi + +echo "$0: Reading projects..." +LIST=`find */trunk/application/*/*.php | cut -d "/" -f 1-2 | sort --unique` + +for repos in ${LIST}; do + echo "$0: Committing in ${repos} ..." + cd "${repos}" || exit 255 + svn commit -m "$1" + cd - +done + +exit 0