]> git.mxchange.org Git - jprojects-scripts.git/commitdiff
new script for fixing git author stuff added (see git filter-branch)
authorRoland Häder <roland@mxchange.org>
Fri, 9 Jun 2017 22:51:06 +0000 (00:51 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 9 Jun 2017 22:51:06 +0000 (00:51 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
git-author-jprojects.sh [new file with mode: 0755]

diff --git a/git-author-jprojects.sh b/git-author-jprojects.sh
new file mode 100755 (executable)
index 0000000..bc5703a
--- /dev/null
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+. ./.jprojects.sh || exit 255
+
+for project in ${LIST}; do
+       if [ "${project}" = "jprojects-scripts" ]
+       then
+               echo "$0: Skipping jprojects-scripts ..."
+               continue
+       fi
+
+       echo "$0: Handling '${project}' ..."
+       cd "${JPROJECTS_HOME}/${project}"
+       sh /opt/bin/git-author.sh
+done
+
+echo "$0: All done."
+exit 0