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>
This commit is contained in:
parent
44e304abe1
commit
7ba4ada8af
|
@ -17,8 +17,8 @@ checkout:
|
||||||
echo " GIT GRUB2 $(NAME-y)"
|
echo " GIT GRUB2 $(NAME-y)"
|
||||||
test -d $(project_dir) || git clone $(project_git_repo) $(project_dir)
|
test -d $(project_dir) || git clone $(project_git_repo) $(project_dir)
|
||||||
git -C $(project_dir) fetch
|
git -C $(project_dir) fetch
|
||||||
ifeq ("$(shell test -d $(project_dir) && \
|
ifeq ($(shell test -d $(project_dir) && \
|
||||||
(git -C $(project_dir) status --ignored=no --untracked-files=no --porcelain))",)
|
(git -C $(project_dir) status --ignored=no --untracked-files=no --porcelain),)
|
||||||
git -C $(project_dir) checkout -f $(TAG-y)
|
git -C $(project_dir) checkout -f $(TAG-y)
|
||||||
else
|
else
|
||||||
echo "WARNING: index/tree not clean, skipping update / force checkout."
|
echo "WARNING: index/tree not clean, skipping update / force checkout."
|
||||||
|
|
Loading…
Reference in New Issue