diff options
Diffstat (limited to 'Meta/install-ports-tree.sh')
-rwxr-xr-x | Meta/install-ports-tree.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Meta/install-ports-tree.sh b/Meta/install-ports-tree.sh index ceac2058fa..1003c83df4 100755 --- a/Meta/install-ports-tree.sh +++ b/Meta/install-ports-tree.sh @@ -1,10 +1,10 @@ #!/usr/bin/env bash -SERENITY_PORTS_DIR="${SERENITY_ROOT}/Build/${SERENITY_ARCH}/Root/usr/Ports" +SERENITY_PORTS_DIR="${SERENITY_SOURCE_DIR}/Build/${SERENITY_ARCH}/Root/usr/Ports" -for file in $(git ls-files "${SERENITY_ROOT}/Ports"); do +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_ROOT}/Ports" "$file") + target=${SERENITY_PORTS_DIR}/$(realpath --relative-to="${SERENITY_SOURCE_DIR}/Ports" "$file") mkdir -p "$(dirname "$target")" && cp "$file" "$target" fi done |