diff --git a/scripts/jw-pkg b/scripts/jw-pkg index e7136438..b85fd0d7 100644 --- a/scripts/jw-pkg +++ b/scripts/jw-pkg @@ -303,7 +303,7 @@ cmd_compile_templates() local tmp=$to.tmp log "Applying macros in $table to $f." eval `sed "/$conf_patt/ !d; s/$conf_patt//" $table` - sed 's|^[ ]*#.*||; s|\([^ =]\+\)[ =]\+\(.*\)|s/\1/\2/g|' $table | sed -f - $f > $tmp + sed 's|^[ ]*#.*||; s|/|\\/|g; s|\([^ =]\+\)[ =]\+\(.*\)|s/\1/\2/g|' $table | sed -f - $f > $tmp chmod $mode $tmp chown $owner $tmp chgrp $group $tmp