aboutsummaryrefslogtreecommitdiff
path: root/deployment/build.macos.amd64
diff options
context:
space:
mode:
authorjoncrall <erotemic@gmail.com>2023-12-03 15:58:26 -0500
committerjoncrall <erotemic@gmail.com>2023-12-03 15:58:26 -0500
commit59ed6ab8ea1c97938fd832618d916719c27887a0 (patch)
tree4fbe9435d2e9cba8ed03c48a3132ab69d9c25f7e /deployment/build.macos.amd64
parent1d5fbd772abe21ab8b1e9e8607395be51a9d5823 (diff)
Quote bash paths to prevent word splitting
Diffstat (limited to 'deployment/build.macos.amd64')
-rwxr-xr-xdeployment/build.macos.amd648
1 files changed, 4 insertions, 4 deletions
diff --git a/deployment/build.macos.amd64 b/deployment/build.macos.amd64
index eac3538771..c7711e82c7 100755
--- a/deployment/build.macos.amd64
+++ b/deployment/build.macos.amd64
@@ -6,7 +6,7 @@ set -o errexit
set -o xtrace
# Move to source directory
-pushd ${SOURCE_DIR}
+pushd "${SOURCE_DIR}"
# Get version
if [[ ${IS_UNSTABLE} == 'yes' ]]; then
@@ -21,11 +21,11 @@ tar -czf jellyfin-server_${version}_macos-amd64.tar.gz -C dist jellyfin-server_$
rm -rf dist/jellyfin-server_${version}
# Move the artifacts out
-mkdir -p ${ARTIFACT_DIR}/
-mv jellyfin[-_]*.tar.gz ${ARTIFACT_DIR}/
+mkdir -p "${ARTIFACT_DIR}/"
+mv jellyfin[-_]*.tar.gz "${ARTIFACT_DIR}/"
if [[ ${IS_DOCKER} == YES ]]; then
- chown -Rc $(stat -c %u:%g ${ARTIFACT_DIR}) ${ARTIFACT_DIR}
+ chown -Rc $(stat -c %u:%g "${ARTIFACT_DIR}") "${ARTIFACT_DIR}"
fi
popd