ddf424 Update manual_updateNodes.sh.

Authored and Committed by areguera 13 years ago
Scripts/Bash/Functions/Manual/manual_updateNodes.sh CHANGED
@@ -34,14 +34,14 @@ function manual_updateNodes {
34
34
# Re-build node structure based on menu information.
35
35
for NODE in $NODES;do
36
36
37
- NODE=$(echo $NODE | sed -r 's!:! !g')
38
- SECT=$(echo $NODE | sed -r 's! !/!g')
39
- INCL=$(echo $NODE | sed -r 's! !/!g').texi
40
- CIND=$(echo $NODE)
37
+ NODE=$(echo "$NODE" | sed -r 's!:! !g')
38
+ SECT=$(echo "$NODE" | sed -r 's! !/!g')
39
+ INCL=$(echo "$NODE" | sed -r 's! !/!g').texi
40
+ CIND=$(echo "$NODE")
41
41
42
42
# Create an emtpy directory to store texinfo files.
43
- if [[ ! -d ${MANUALS_DIR[2]}/$(dirname $INCL) ]];then
44
- mkdir -p ${MANUALS_DIR[2]}/$(dirname $INCL)
43
+ if [[ ! -d ${MANUALS_DIR[2]}/$(dirname "$INCL") ]];then
44
+ mkdir -p ${MANUALS_DIR[2]}/$(dirname "$INCL")
45
45
fi
46
46
47
47
# Create texinfo section file using its template.