mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
jw-pkg compile-templates: Fix slashes in passwords
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
9f5527a28e
commit
d4a9bad14e
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue