From eed7b02c65ca0c96935f30a09d834211cbcb1975 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Feb 05 2011 02:45:35 +0000 Subject: Update Svg/svg_updateMetadata.sh. --- diff --git a/Scripts/Bash/Functions/Svg/svg_updateMetadata.sh b/Scripts/Bash/Functions/Svg/svg_updateMetadata.sh index 1f1389e..c2f1e1f 100755 --- a/Scripts/Bash/Functions/Svg/svg_updateMetadata.sh +++ b/Scripts/Bash/Functions/Svg/svg_updateMetadata.sh @@ -154,14 +154,14 @@ function svg_updateMetadata { cli_printMessage $FILE 'AsUpdatingLine' # Build title from file path. - NAM=$(basename $FILE) + NAM=$(basename "$FILE") # Build url from file path. URL=$(echo $FILE | sed 's!/home/centos!https://projects.centos.org/svn!') # Build keywords from file path. Do not include filename, it # is already on title. - KEYS=$(dirname $FILE | cut -d/ -f6- | tr '/' '\n') + KEYS=$(dirname "$FILE" | cut -d/ -f6- | tr '/' '\n') # Build keywords using SVG standard format. Note that this # information is inserted inside template file. The