From 2949824849abb03b2c024eb99fa0fdd9523bf2b7 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Sun, 8 Jan 2023 19:08:51 -0500 Subject: Toolchain: Do not use `install -D` in BuildIt.sh `-D` doesn't exist on macOS. Just call `mkdir -p` instead. --- Toolchain/BuildIt.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Toolchain/BuildIt.sh b/Toolchain/BuildIt.sh index 8694fa6001..2d81d6fb4f 100755 --- a/Toolchain/BuildIt.sh +++ b/Toolchain/BuildIt.sh @@ -400,7 +400,8 @@ pushd "$DIR/Build/$ARCH" -e "s@$SRC_ROOT/AK/@AK/@" \ -e "s@$SRC_ROOT/Userland/Libraries/LibC@@" \ -e "s@$SRC_ROOT/Kernel/@Kernel/@") - buildstep "system_headers" $INSTALL -D "$header" "Root/usr/include/$target" + buildstep "system_headers" mkdir -p "$(dirname "Root/usr/include/$target")" + buildstep "system_headers" $INSTALL "$header" "Root/usr/include/$target" done unset SRC_ROOT popd -- cgit v1.2.3