mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
jw-pkg: Support -c option (template file attribute definition pattern)
jw-pkg determines the file attributes of template compilation output via a line matching the '^#\s*conf' regular expression. Allow that regex to be configured. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
64bc96624e
commit
eb3949d085
1 changed files with 4 additions and 0 deletions
|
|
@ -309,6 +309,10 @@ cmd_compile_templates()
|
||||||
-b)
|
-b)
|
||||||
backup=1
|
backup=1
|
||||||
;;
|
;;
|
||||||
|
-c)
|
||||||
|
conf_patt="$2"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
usage 1
|
usage 1
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue