mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 12:05:15 +00:00
Meta: Check if gdu is part of GNU coreutils
This commit is contained in:
parent
0cbc688f92
commit
06d905622a
Notes:
sideshowbarker
2024-07-18 22:57:59 +09:00
Author: https://github.com/mika-s 🔰 Commit: https://github.com/SerenityOS/serenity/commit/06d905622a4 Pull-request: https://github.com/SerenityOS/serenity/pull/11850 Reviewed-by: https://github.com/timschumi ✅
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue