spec-create: fix expansion of lines containing @configure@
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
f7ba867c7b
commit
90f3996a3d
@ -9,6 +9,11 @@ Changes in version 1.9.1
|
||||
* templates/library - Davide Madrisan:
|
||||
Update template.
|
||||
|
||||
+ bugfix
|
||||
* pck-update - Davide Madrisan:
|
||||
Fix expansion of templates containing '@configure@' or a line starting by
|
||||
'@configure@'.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Changes in version 1.9.0 - Silvan Birthday Release
|
||||
|
@ -383,7 +383,8 @@ $spec_type ("$"line""#$template_linenum): "$"@fi without @if statement"
|
||||
$FUNCNAME: @fi:$currvar lev:$if_level val:${if_value[$if_level]})"
|
||||
continue
|
||||
;;
|
||||
@configure@)
|
||||
@configure@*)
|
||||
[ "${if_value[1]}" = '1' -a ${if_value[2]} = '1' ] || continue
|
||||
[ "$spec_cmd_configure" ] && echo "$line" | \
|
||||
sed "s,@configure@,$spec_cmd_configure,"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user