summaryrefslogtreecommitdiff
path: root/payloads/external
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2020-05-01 22:55:44 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-05-04 09:45:13 +0000
commit7ba4ada8af425c3db4af212e7970bf2df0338633 (patch)
tree568496e9b387b7015805171b7ca79e0cf4584d56 /payloads/external
parent44e304abe11d87ba3bda7b566fe972aee96b159b (diff)
payloads/external/GRUB2: Makefile: fix check for changed files
The check for changed files, introduced in cb:36343 does not work (anymore?) due to the quotes. Thus, drop them. Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Change-Id: Ie126e3d604990b2346f1f004f912080104e2789d Reviewed-on: https://review.coreboot.org/c/coreboot/+/40953 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Diffstat (limited to 'payloads/external')
-rw-r--r--payloads/external/GRUB2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/external/GRUB2/Makefile b/payloads/external/GRUB2/Makefile
index f13c12892a..4dfedbe96e 100644
--- a/payloads/external/GRUB2/Makefile
+++ b/payloads/external/GRUB2/Makefile
@@ -17,8 +17,8 @@ checkout:
echo " GIT GRUB2 $(NAME-y)"
test -d $(project_dir) || git clone $(project_git_repo) $(project_dir)
git -C $(project_dir) fetch
-ifeq ("$(shell test -d $(project_dir) && \
- (git -C $(project_dir) status --ignored=no --untracked-files=no --porcelain))",)
+ifeq ($(shell test -d $(project_dir) && \
+ (git -C $(project_dir) status --ignored=no --untracked-files=no --porcelain),)
git -C $(project_dir) checkout -f $(TAG-y)
else
echo "WARNING: index/tree not clean, skipping update / force checkout."