| Message ID | 20260511101327.1171728-1-thomas.perrot@bootlin.com |
|---|---|
| State | Under Review |
| Headers | show |
| Series | scripts/makefile-getvar: quote MAKEFILE variable | expand |
diff --git a/scripts/makefile-getvar b/scripts/makefile-getvar index e8a983276676..238d9567adce 100755 --- a/scripts/makefile-getvar +++ b/scripts/makefile-getvar @@ -20,8 +20,8 @@ fi MAKEFILE=$1 shift -if [ ! -f $MAKEFILE ]; then - echo $MAKEFILE is not a file +if [ ! -f "$MAKEFILE" ]; then + echo "$MAKEFILE is not a file" exit 1 fi