mirror of
https://github.com/linuxboot/heads.git
synced 2025-02-20 01:06:18 +00:00
"$@" does not expand correctly in test expressions, use "$*" instead (issue #181)
This commit is contained in:
parent
c19193d7c6
commit
51ecbdc8cb
@ -33,7 +33,7 @@ if [ -z "$tpm_missing" ]; then
|
||||
|| die "$MODULE: tpm extend failed"
|
||||
fi
|
||||
|
||||
if [ ! -z "$@" -a -z "$tpm_missing" ]; then
|
||||
if [ ! -z "$*" -a -z "$tpm_missing" ]; then
|
||||
TMPFILE=/tmp/insmod.$$
|
||||
echo "$@" > $TMPFILE
|
||||
tpm extend -ix "$MODULE_PCR" -if $TMPFILE \
|
||||
|
Loading…
x
Reference in New Issue
Block a user