[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 04/11] edk2: .git can be a file
From: |
Eric Blake |
Subject: |
Re: [PATCH 04/11] edk2: .git can be a file |
Date: |
Tue, 8 Mar 2022 16:56:24 -0600 |
User-agent: |
NeoMutt/20211029-410-d8ee8c |
On Tue, Mar 08, 2022 at 03:55:14PM +0100, Gerd Hoffmann wrote:
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
> ---
> roms/Makefile.edk2 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/roms/Makefile.edk2 b/roms/Makefile.edk2
> index 3d75a842a4df..a669019fe5b2 100644
> --- a/roms/Makefile.edk2
> +++ b/roms/Makefile.edk2
> @@ -51,7 +51,7 @@ all: $(foreach
> flashdev,$(flashdevs),../pc-bios/edk2-$(flashdev).fd.bz2) \
> # we're building from a tarball and that they've already been fetched by
> # make-release/tarball scripts.
> submodules:
> - if test -d edk2/.git; then \
> + if test -d edk2/.git -o -f edk2/.git; then \
'test ... -o ...' is not portable. Either write this as:
if test -d edk2/.git || test -f edk2/.git; then \
or go with the shorter:
if test -e edk2/.git; then \
> cd edk2 && git submodule update --init --force -- \
> ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3 \
> BaseTools/Source/C/BrotliCompress/brotli \
> --
> 2.35.1
>
>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
- [PATCH 01/11] tests/acpi: allow virt memory hotplug changes, (continued)
- [PATCH 01/11] tests/acpi: allow virt memory hotplug changes, Gerd Hoffmann, 2022/03/08
- [PATCH 03/11] edk2: switch to release builds, Gerd Hoffmann, 2022/03/08
- [PATCH 05/11] edk2: add microvm build, Gerd Hoffmann, 2022/03/08
- [PATCH 04/11] edk2: .git can be a file, Gerd Hoffmann, 2022/03/08
- Re: [PATCH 04/11] edk2: .git can be a file,
Eric Blake <=
- [PATCH 02/11] edk2: update submodule to stable202202, Gerd Hoffmann, 2022/03/08
- [PATCH 08/11] tests/acpi: disallow virt memory hotplug changes, Gerd Hoffmann, 2022/03/08
- [PATCH 09/11] edk2/docker: install python3, Gerd Hoffmann, 2022/03/08
- [PATCH 07/11] tests/acpi: update expected data files, Gerd Hoffmann, 2022/03/08
- [PATCH 10/11] edk2/docker: use ubuntu 18.04, Gerd Hoffmann, 2022/03/08
- [PATCH 11/11] MAINTAINERS: take edk2, Gerd Hoffmann, 2022/03/08