1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:57:45 +00:00

Toolchain: Do not use install -D in BuildIt.sh

`-D` doesn't exist on macOS. Just call `mkdir -p` instead.
This commit is contained in:
Nico Weber 2023-01-08 19:08:51 -05:00 committed by Andrew Kaster
parent 491af34d36
commit 2949824849

View file

@ -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