From 154cfd4feebab05ab056da249bb5e04aae5c78dd Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Aug 09 2011 04:47:22 +0000 Subject: Update `help.sh': - Avoid cli_syncroRepoChanges when MANUAL_CHANGED_DIRS doesn't exist. This may happen when the documentation manual is created for first time. --- diff --git a/Scripts/Functions/Help/help.sh b/Scripts/Functions/Help/help.sh index 6ccbb64..c21cb0b 100755 --- a/Scripts/Functions/Help/help.sh +++ b/Scripts/Functions/Help/help.sh @@ -199,7 +199,9 @@ function help { # At this point, changes in the repository are merged in # the working copy and changes in the working copy # committed up to repository. - cli_syncroRepoChanges ${MANUAL_CHANGED_DIRS} + if [[ -d ${MANUAL_CHANGED_DIRS} ]];then + cli_syncroRepoChanges ${MANUAL_CHANGED_DIRS} + fi # Initialize documentation backend functionalities. At # this point we load all functionalities required into