diff options
-rwxr-xr-x | Doc/tools/mkhowto.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/tools/mkhowto.sh b/Doc/tools/mkhowto.sh index cd85ef0..88050d5 100755 --- a/Doc/tools/mkhowto.sh +++ b/Doc/tools/mkhowto.sh @@ -157,7 +157,8 @@ build_text() { l2hoption() { if [ "$2" ] ; then - echo "\$$1 = \"$2\";" >>$L2H_AUX_INIT_FILE + VALUE=`echo "$2" | sed 's/[$"@]/\\\\&/g'` + echo "\$$1 = \"$VALUE\";" >>$L2H_AUX_INIT_FILE fi } |