mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 16:10:20 +00:00
10 lines
405 B
Bash
Executable file
10 lines
405 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
SERENITY_PORTS_DIR="${SERENITY_SOURCE_DIR}/Build/${SERENITY_ARCH}/Root/usr/Ports"
|
|
|
|
for file in $(git ls-files "${SERENITY_SOURCE_DIR}/Ports"); do
|
|
if [ "$(basename "$file")" != ".hosted_defs.sh" ]; then
|
|
target=${SERENITY_PORTS_DIR}/$(realpath --relative-to="${SERENITY_SOURCE_DIR}/Ports" "$file")
|
|
mkdir -p "$(dirname "$target")" && cp "$file" "$target"
|
|
fi
|
|
done
|