diff --git a/scripts/upgrade b/scripts/upgrade index ac3c07c..27d2c59 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -60,7 +60,7 @@ then tmp="/tmp/minio" mkdir "$tmp" chown -R $app:www-data "$tmp" - pushd "$tmp/" + pushd "$datadir/" for d in * ; do if [ "$d" == "*" ] then