diff --git a/Scripts/copylibs.sh b/Scripts/copylibs.sh old mode 100644 new mode 100755 index c043ac7..f7057be --- a/Scripts/copylibs.sh +++ b/Scripts/copylibs.sh @@ -2,6 +2,11 @@ src="../zzLib/Libs" start=".." findterm="Libs/zzAddOn" +msg=$1 +if [ -z $1 ] +then + msg="Update Libs" +fi for entry in "$start"/* do if [ -e "$entry/$findterm" ] @@ -9,6 +14,7 @@ do echo "$entry" cp -ra $src $entry cd $entry - git commit "Libs/*" -m "Update Libs" && git push + git commit "Libs/*" -m "$msg" && git push + cd - fi done \ No newline at end of file