Commit af37d3e7 authored by Daniel's avatar Daniel

Update overlay/root/scripts/_CONFIG_VARS_.sh

parent d9668270
......@@ -68,14 +68,14 @@ cmd_arr="php ${dir_nextcloud}/occ"
# enclose all commands into '' which prevents errors
# with commands that include spaces
while [ -n "$1" ];
while [ -n "\$1" ];
do
cmd_arr="${cmd_arr} '$1'"
cmd_arr="\${cmd_arr} '\$1'"
shift
done
echo "running: ${cmd_arr}"
echo "running: \${cmd_arr}"
# run the command as webuser in script mode
su -m ${WWW_USER} -c "${cmd_arr}"
su -m ${WWW_USER} -c "\${cmd_arr}"
EOF
chmod +x ${file_occ_script}
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment