Update portal-upgrade.sh

This commit is contained in:
Karol Wypchło 2020-09-14 18:20:26 +02:00 committed by GitHub
parent a02c27664b
commit 1fbaee6caf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -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