mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-17 03:00:21 +00:00
Merge pull request #5718 from nextcloud/fix/5683/fix-require-command
nextcloud entrypoint: fix missing apostroph in require command
This commit is contained in:
commit
1c4026f6e4
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ if ! [ -f "$NEXTCLOUD_DATA_DIR/skip.update" ]; then
|
||||||
rm -r /usr/src/tmp
|
rm -r /usr/src/tmp
|
||||||
rm -r /usr/src/temp-nextcloud
|
rm -r /usr/src/temp-nextcloud
|
||||||
# shellcheck disable=SC2016
|
# 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%%.*}"
|
IMAGE_MAJOR="${image_version%%.*}"
|
||||||
set +ex
|
set +ex
|
||||||
# Do not skip major versions end # Do not remove or change this line!
|
# Do not skip major versions end # Do not remove or change this line!
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue