diff options
author | Panagiotis Vasilopoulos <hello@alwayslivid.com> | 2021-04-20 03:51:04 +0300 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-04-20 15:27:52 +0200 |
commit | e45e0eeb477629bd877e1837724e121f0c11b9ca (patch) | |
tree | 7ea93a0d751e72fce33291cc0c96204bc14b4064 /Meta/install-ports-tree.sh | |
parent | 3f5c934ea61999d2a946daac1fd8c672da33d87a (diff) | |
download | serenity-e45e0eeb477629bd877e1837724e121f0c11b9ca.zip |
Everywhere: Replace SERENITY_ROOT with SERENITY_SOURCE_DIR
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 |