diff options
| author | Bond-009 <bond.009@outlook.com> | 2023-12-18 23:21:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-18 23:21:35 +0100 |
| commit | f039de033a027d5e42816ae441c3ad1a242f0c11 (patch) | |
| tree | 39492e95bb5e0571a9e0d5dabce4e93413f5eb8e /deployment/build.linux.arm64 | |
| parent | 135cd68778bc4d6caa0424b853d870e11ce20383 (diff) | |
| parent | 59ed6ab8ea1c97938fd832618d916719c27887a0 (diff) | |
Merge pull request #10672 from Erotemic/fix_bash_install_paths
Quote bash paths to prevent word splitting
Diffstat (limited to 'deployment/build.linux.arm64')
| -rwxr-xr-x | deployment/build.linux.arm64 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/deployment/build.linux.arm64 b/deployment/build.linux.arm64 index 6e36db0eb..6d6a8f803 100755 --- a/deployment/build.linux.arm64 +++ b/deployment/build.linux.arm64 @@ -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}_linux-arm64.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 |
