diff --git a/update.sh b/update.sh index 3e209884..c91db91b 100755 --- a/update.sh +++ b/update.sh @@ -1,4 +1,5 @@ #!/bin/bash -e +cd "$(dirname "$0")" if [ -d data-backup ]; then echo "ERROR: Backup directory exists. May be previous restoring was failed?"