From e45e0eeb477629bd877e1837724e121f0c11b9ca Mon Sep 17 00:00:00 2001 From: Panagiotis Vasilopoulos Date: Tue, 20 Apr 2021 03:51:04 +0300 Subject: Everywhere: Replace SERENITY_ROOT with SERENITY_SOURCE_DIR --- Meta/install-ports-tree.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Meta/install-ports-tree.sh') 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 -- cgit v1.2.3