diff options
| author | joncrall <erotemic@gmail.com> | 2023-12-03 15:58:26 -0500 |
|---|---|---|
| committer | joncrall <erotemic@gmail.com> | 2023-12-03 15:58:26 -0500 |
| commit | 59ed6ab8ea1c97938fd832618d916719c27887a0 (patch) | |
| tree | 4fbe9435d2e9cba8ed03c48a3132ab69d9c25f7e /deployment/build.macos.amd64 | |
| parent | 1d5fbd772abe21ab8b1e9e8607395be51a9d5823 (diff) | |
Quote bash paths to prevent word splitting
Diffstat (limited to 'deployment/build.macos.amd64')
| -rwxr-xr-x | deployment/build.macos.amd64 | 8 |
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 |
