diff options
author | Mika Sundland <mika.sundland@gmail.com> | 2022-01-13 00:46:48 +0100 |
---|---|---|
committer | Brian Gianforcaro <b.gianfo@gmail.com> | 2022-01-28 07:19:52 +0000 |
commit | 06d905622a413064d912a1997e8f4bb31e65577f (patch) | |
tree | 84208269fab0b6671c1ff3738b7bb6593e2b8aea /Meta/build-image-qemu.sh | |
parent | 0cbc688f9241c614b9c9c79317555c694a1dcd3e (diff) | |
download | serenity-06d905622a413064d912a1997e8f4bb31e65577f.zip |
Meta: Check if gdu is part of GNU coreutils
Diffstat (limited to 'Meta/build-image-qemu.sh')
-rwxr-xr-x | Meta/build-image-qemu.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/build-image-qemu.sh b/Meta/build-image-qemu.sh index 92ca703f2b..a4e369cf97 100755 --- a/Meta/build-image-qemu.sh +++ b/Meta/build-image-qemu.sh @@ -39,7 +39,7 @@ PATH="$SCRIPT_DIR/../Toolchain/Local/i686/bin:$PATH" # We depend on GNU coreutils du for the --apparent-size extension. # GNU coreutils is a build dependency. -if type gdu > /dev/null 2>&1; then +if command -v gdu > /dev/null 2>&1 && gdu --version | grep -q "GNU coreutils"; then GNUDU="gdu" else GNUDU="du" |