From 919fdac3682bff9c3e4688b7ad0d0669f44eb007 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Feb 04 2011 20:28:23 +0000 Subject: Update manual_deleteEntry.sh. --- diff --git a/Scripts/Bash/Functions/Manual/manual_deleteEntry.sh b/Scripts/Bash/Functions/Manual/manual_deleteEntry.sh index 0520e48..9a371a1 100755 --- a/Scripts/Bash/Functions/Manual/manual_deleteEntry.sh +++ b/Scripts/Bash/Functions/Manual/manual_deleteEntry.sh @@ -43,7 +43,7 @@ function manual_deleteEntry { # applies when you try to remove the whole chapter from the # working copy (e.g., centos-art manual --delete=/home/centos/artwork/trunk/). if [[ $ENTRY =~ "${MANUALS_FILE[7]}$" ]];then - LOCATION=$(dirname $ENTRY) + LOCATION=$(dirname "$ENTRY") fi # Look for dependent entries. In this context, dependent entries @@ -54,7 +54,7 @@ function manual_deleteEntry { # because there is no dependent entries. if [[ -d $LOCATION ]];then for ENTRY in $(find $LOCATION -name '*.texi');do - ENTRIES="$ENTRIES $ENTRY $(dirname $ENTRY)" + ENTRIES="$ENTRIES $ENTRY $(dirname "$ENTRY")" done fi