diff options
author | Nico Weber <thakis@chromium.org> | 2023-01-08 19:08:51 -0500 |
---|---|---|
committer | Andrew Kaster <andrewdkaster@gmail.com> | 2023-01-09 19:23:20 -0700 |
commit | 2949824849abb03b2c024eb99fa0fdd9523bf2b7 (patch) | |
tree | 1b48f391975108a92eeb9960603824e861e8298e | |
parent | 491af34d36277ebb42849fc51d918302cbda518a (diff) | |
download | serenity-2949824849abb03b2c024eb99fa0fdd9523bf2b7.zip |
Toolchain: Do not use `install -D` in BuildIt.sh
`-D` doesn't exist on macOS. Just call `mkdir -p` instead.
-rwxr-xr-x | Toolchain/BuildIt.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |