summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgit/commit.sh2
-rwxr-xr-xgit/diff.sh2
-rw-r--r--git/modules3
-rwxr-xr-xgit/push.sh2
-rwxr-xr-xgit/stash-pop.sh2
-rwxr-xr-xgit/stash.sh2
-rwxr-xr-xgit/stat.sh2
-rwxr-xr-xgit/tag.sh2
8 files changed, 9 insertions, 8 deletions
diff --git a/git/commit.sh b/git/commit.sh
index deecada..e5a1950 100755
--- a/git/commit.sh
+++ b/git/commit.sh
@@ -27,7 +27,7 @@ if test ! -s "$msg_file"; then
exit 1
fi
-for i in $modules; do
+for i in $odb_modules; do
echo "commit $i" 1>&2
cd $i
git add .
diff --git a/git/diff.sh b/git/diff.sh
index 19737e9..6412543 100755
--- a/git/diff.sh
+++ b/git/diff.sh
@@ -7,7 +7,7 @@ self=`realpath $0`
wd=`pwd`
-for i in $modules; do
+for i in $all_modules; do
echo "diff $i" 1>&2
cd $i
git --no-pager diff
diff --git a/git/modules b/git/modules
index 6f0a4ac..9af5f8d 100644
--- a/git/modules
+++ b/git/modules
@@ -1 +1,2 @@
-modules="libodb libodb-mysql libodb-tracer libodb-boost odb examples tests etc"
+odb_modules="libodb libodb-mysql libodb-tracer libodb-boost odb examples tests"
+all_modules="$core_modules etc"
diff --git a/git/push.sh b/git/push.sh
index e37d351..83fadd1 100755
--- a/git/push.sh
+++ b/git/push.sh
@@ -7,7 +7,7 @@ self=`realpath $0`
wd=`pwd`
-for i in $modules; do
+for i in $all_modules; do
echo "push $i" 1>&2
cd $i
git push --tags origin master
diff --git a/git/stash-pop.sh b/git/stash-pop.sh
index be43664..adec9c0 100755
--- a/git/stash-pop.sh
+++ b/git/stash-pop.sh
@@ -7,7 +7,7 @@ self=`realpath $0`
wd=`pwd`
-for i in $modules; do
+for i in $odb_modules; do
echo "stash pop $i" 1>&2
cd $i
git stash pop
diff --git a/git/stash.sh b/git/stash.sh
index afc2124..0175296 100755
--- a/git/stash.sh
+++ b/git/stash.sh
@@ -7,7 +7,7 @@ self=`realpath $0`
wd=`pwd`
-for i in $modules; do
+for i in $odb_modules; do
echo "stash $i" 1>&2
cd $i
git stash
diff --git a/git/stat.sh b/git/stat.sh
index 39eb081..300432f 100755
--- a/git/stat.sh
+++ b/git/stat.sh
@@ -7,7 +7,7 @@ self=`realpath $0`
wd=`pwd`
-for i in $modules; do
+for i in $all_modules; do
echo "stat $i" 1>&2
cd $i
git status
diff --git a/git/tag.sh b/git/tag.sh
index 99ba938..243e315 100755
--- a/git/tag.sh
+++ b/git/tag.sh
@@ -12,7 +12,7 @@ if [ "$1" = "" ]; then
exit 1
fi
-for i in $modules; do
+for i in $all_modules; do
echo "tag $i" 1>&2
cd $i
git tag -a $1 -m "Tag version $1"