]> git.mxchange.org Git - jprojects-scripts.git/commitdiff
Converted CRLF->LF
authorRoland Haeder <roland@mxchange.org>
Tue, 17 May 2016 18:01:07 +0000 (20:01 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 17 May 2016 18:01:07 +0000 (20:01 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
commit-jprojects.sh

index 31bac1219b760f1b8174063e38840e62b70bfe79..86810644ffa558d9fe0dfa3a9b1a079a717b3e75 100755 (executable)
@@ -1,29 +1,29 @@
-#!/bin/bash\r
-\r
-. ./.jprojects.sh || exit 255\r
-\r
-for project in ${LIST}; do\r
-       if [ ! -d "${JPROJECTS_HOME}/${project}" ]\r
-       then\r
-               continue\r
-       fi\r
-\r
-       cd "${JPROJECTS_HOME}/${project}" || exit 255\r
-       CHECK_CHANGES=`git commit -a --dry-run | grep "Changes to be committed:"`\r
-\r
-       if [ -n "${CHECK_CHANGES}" ]\r
-       then\r
-               echo "$0: Committing '${project}' ..."\r
-               if [ -n "$1" ]\r
-               then\r
-                       git commit -a --signoff -S -m "$1" || exit 255\r
-               else\r
-                       git commit -a --signoff -S || exit 255\r
-               fi\r
-       else\r
-               echo "$0: Nothing to commit for project '${project}'."\r
-       fi\r
-done\r
-\r
-echo "$0: All done."\r
-exit 0\r
+#!/bin/bash
+
+. ./.jprojects.sh || exit 255
+
+for project in ${LIST}; do
+       if [ ! -d "${JPROJECTS_HOME}/${project}" ]
+       then
+               continue
+       fi
+
+       cd "${JPROJECTS_HOME}/${project}" || exit 255
+       CHECK_CHANGES=`git commit -a --dry-run | grep "Changes to be committed:"`
+
+       if [ -n "${CHECK_CHANGES}" ]
+       then
+               echo "$0: Committing '${project}' ..."
+               if [ -n "$1" ]
+               then
+                       git commit -a --signoff -S -m "$1" || exit 255
+               else
+                       git commit -a --signoff -S || exit 255
+               fi
+       else
+               echo "$0: Nothing to commit for project '${project}'."
+       fi
+done
+
+echo "$0: All done."
+exit 0