From 0984707e692e2839930eae5fa4299771d7b0a948 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jul 17 2011 00:58:23 +0000 Subject: Update `help' functionality: - Update regular expression controlling locations where documentation manuals can be stored in order to make the branch name level required. E.g.: `branches/Manuals/${BRANCH_NAME}/${MANUAL_NAME}' --- diff --git a/Scripts/Functions/Help/help.sh b/Scripts/Functions/Help/help.sh index 4a80caa..ce6ede8 100755 --- a/Scripts/Functions/Help/help.sh +++ b/Scripts/Functions/Help/help.sh @@ -55,7 +55,7 @@ function help { # When manual's top-level location is other but the ones # permitted, use `trunk/Manuals' directory structure as default # location to store documentation manuals. - if [[ ! $MANUAL_TLDIR =~ "^${HOME}/artwork/(trunk|branches)/Manuals" ]];then + if [[ ! $MANUAL_TLDIR =~ "^${HOME}/artwork/(trunk/Manuals|branches/Manuals/[[:alnum:]-]+)" ]];then MANUAL_TLDIR="${HOME}/artwork/trunk/Manuals" fi