diff options
Diffstat (limited to 'Toolchain/BuildClang.sh')
-rwxr-xr-x | Toolchain/BuildClang.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Toolchain/BuildClang.sh b/Toolchain/BuildClang.sh index a837dbbe21..6238dee1c6 100755 --- a/Toolchain/BuildClang.sh +++ b/Toolchain/BuildClang.sh @@ -255,7 +255,7 @@ for arch in $ARCHS; do pushd "$BUILD/${arch}clang" mkdir -p Root/usr/include/ for header in $FILES; do - target=$(echo "$header" | "$SED" -e "s@$SRC_ROOT/Userland/Libraries/LibC@@" -e "s@$SRC_ROOT/Kernel/@Kernel/@") + target=$(echo "$header" | "$SED" -e "s|$SRC_ROOT/Userland/Libraries/LibC||" -e "s|$SRC_ROOT/Kernel/|Kernel/|") buildstep "system_headers" "$INSTALL" -D "$header" "Root/usr/include/$target" done popd |