Skip to content

Commit

Permalink
Merge pull request #5718 from nextcloud/fix/5683/fix-require-command
Browse files Browse the repository at this point in the history
nextcloud entrypoint: fix missing apostroph in require command
  • Loading branch information
szaimen authored Dec 6, 2024
2 parents c130cc0 + f7cc061 commit 1c4026f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Containers/nextcloud/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
rm -r /usr/src/tmp
rm -r /usr/src/temp-nextcloud
# shellcheck disable=SC2016
image_version="$(php -r "require $SOURCE_LOCATION/version.php; echo implode('.', \$OC_Version);")"
image_version="$(php -r "require '$SOURCE_LOCATION/version.php'; echo implode('.', \$OC_Version);")"
IMAGE_MAJOR="${image_version%%.*}"
set +ex
# Do not skip major versions end # Do not remove or change this line!
Expand Down

0 comments on commit 1c4026f

Please sign in to comment.