Ignore allow-root in update-prod when not running as root
This commit is contained in:
parent
d9a534e294
commit
3bc6978545
|
@ -38,7 +38,9 @@ fi
|
||||||
NO_GIT=false
|
NO_GIT=false
|
||||||
|
|
||||||
while ! [ -z "${1+x}" ]; do
|
while ! [ -z "${1+x}" ]; do
|
||||||
if [ "$1" = "--prod-public-dir" ]; then
|
if [ "$1" = "--allow-root" ]; then
|
||||||
|
shift
|
||||||
|
elif [ "$1" = "--prod-public-dir" ]; then
|
||||||
export PROD_PUBLIC_DIR=$2
|
export PROD_PUBLIC_DIR=$2
|
||||||
shift
|
shift
|
||||||
shift
|
shift
|
||||||
|
|
Loading…
Reference in New Issue