From af4cfef32a8f40671bf6f485f891ab46ebda71d2 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Feb 18 2011 22:48:27 +0000 Subject: Update cli_commitRepoChanges.sh to verify for FLAG_DONT_COMMIT_CHANGES value on the very top of the function. --- diff --git a/Scripts/Bash/Functions/cli_commitRepoChanges.sh b/Scripts/Bash/Functions/cli_commitRepoChanges.sh index 910ba69..b8c69d6 100755 --- a/Scripts/Bash/Functions/cli_commitRepoChanges.sh +++ b/Scripts/Bash/Functions/cli_commitRepoChanges.sh @@ -29,6 +29,11 @@ function cli_commitRepoChanges { + # Verify don't commit changes flag. + if [[ $FLAG_DONT_COMMIT_CHANGES == 'true' ]];then + return + fi + local -a FILES local -a INFO local -a FILESNUM