Update portal-upgrade.sh
This commit is contained in:
parent
a02c27664b
commit
1fbaee6caf
|
@ -2,6 +2,9 @@
|
||||||
|
|
||||||
set -e # exit on first error
|
set -e # exit on first error
|
||||||
|
|
||||||
|
# get current working directory (pwd doesn't cut it)
|
||||||
|
cwd=$(cd -P -- "$(dirname -- "$0")" && pwd -P)
|
||||||
|
|
||||||
# put the server down for maintenance
|
# put the server down for maintenance
|
||||||
. ${cwd}/portal-down.sh
|
. ${cwd}/portal-down.sh
|
||||||
|
|
||||||
|
|
Reference in New Issue