summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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."