summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-03-27 23:31:38 +0100
committerSven Gothel <[email protected]>2015-03-27 23:31:38 +0100
commit82ae098c156930d9875fc6aef3cb377017ea8748 (patch)
tree72679e10b2264250f3791e27b33cffe3884d0f3c
parent805b179aa915d49a38cb1471bd6b539d75aea1d1 (diff)
fix git-forallrepos-push.sh using git-jogamp-push.sh (for all jogamp projects -> all repos)
-rwxr-xr-xgit/git-forallrepos-push.sh4
-rwxr-xr-xgit/git-jogamp-push.sh15
2 files changed, 18 insertions, 1 deletions
diff --git a/git/git-forallrepos-push.sh b/git/git-forallrepos-push.sh
index cf9b9b6..09c56bf 100755
--- a/git/git-forallrepos-push.sh
+++ b/git/git-forallrepos-push.sh
@@ -1,10 +1,12 @@
#! /bin/bash
+sdir=`dirname $0`
+
for i in gluegen jcpp joal joal-demos jogl oculusvr-sdk jogl-demos jocl jocl-demos ; do
cd $i
echo
echo MODULE $i
echo
- git-jogl-push.sh $*
+ . $sdir/git-jogamp-push.sh $*
cd ..
done
diff --git a/git/git-jogamp-push.sh b/git/git-jogamp-push.sh
new file mode 100755
index 0000000..dd409dc
--- /dev/null
+++ b/git/git-jogamp-push.sh
@@ -0,0 +1,15 @@
+#! /bin/sh
+
+set -x
+
+#GIT_ARGS="--mirror"
+#GIT_ARGS="--all"
+
+echo origin
+git push $GIT_ARGS origin $*
+echo jausoft
+git push $GIT_ARGS jausoft $*
+echo jogamp
+git push $GIT_ARGS jogamp $*
+echo github-jogamp
+git push $GIT_ARGS github-jogamp $*