Skip to content

Commit 0850b31

Browse files
committed
fix: prefer source over eval
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 parent b019357 commit 0850b31

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ $OCC upgrade 2>&1>> "$UPGRADE_LOGFILE"
111111
error_msg "The upgrade log is written to $UPGRADE_LOGFILE within the nextcloud container"
112112

113113
# basic Nextcloud configuration
114-
eval "$(cat \"$NC_UCR_FILE\")"
114+
# shellcheck disable=SC1090
115+
source "${NC_UCR_FILE}"
115116
if [ "$NC_IS_UPGRADE" -eq 0 ] ; then
116117
$OCC config:system:set updatechecker --type=boolean --value="false" # this is handled via UCS AppCenter
117118
$OCC config:system:set upgrade.disable-web --type=boolean --value="true"

0 commit comments

Comments
 (0)