mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-18 04:53:57 +01:00
mkspec-wrapper.sh: Fix append() for special characters
The append() shell function was unable to cope with special characters, notably with () in RPM provides libnnz12.so()(64bit), this commit fixes that. And introduces some (disabled) debug code into projects.py. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
8d30bbf748
commit
d7da4f1cb8
2 changed files with 3 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ append()
|
|||
{
|
||||
local var=$1
|
||||
shift
|
||||
local tmp=`eval echo \\$$var $@ | sed 's/^[[:space:]]*//; s/[[:space:]]*$//'`
|
||||
local tmp=`eval echo \"\\$$var $@\" | sed 's/^[[:space:]]*//; s/[[:space:]]*$//'`
|
||||
eval $var=\"$tmp\"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue