From ea626de0fe422e33d641f108b0a940bbfc0afcc3 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 17 May 2016 20:01:07 +0200 Subject: [PATCH] Converted CRLF->LF Signed-off-by: Roland Haeder --- commit-jprojects.sh | 58 ++++++++++++++++++++++----------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/commit-jprojects.sh b/commit-jprojects.sh index 31bac12..8681064 100755 --- a/commit-jprojects.sh +++ b/commit-jprojects.sh @@ -1,29 +1,29 @@ -#!/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 +#!/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 -- 2.39.5