DB versioning code refactor
gitea/salix/dev This commit looks good Details

This commit is contained in:
Juan Ferrer 2019-04-03 11:02:19 +02:00
parent 13ca2f7e52
commit 836f210f6c
1 changed files with 3 additions and 2 deletions

View File

@ -22,6 +22,9 @@ done
shift $(($OPTIND - 1)) shift $(($OPTIND - 1))
ENV=$1 ENV=$1
DIR="$(dirname "${BASH_SOURCE[0]}")"
# Production protection
if [ "$ENV" == "production" ]; then if [ "$ENV" == "production" ]; then
echo "" echo ""
@ -45,8 +48,6 @@ if [ "$ENV" == "production" ]; then
fi fi
fi fi
DIR="$(dirname "${BASH_SOURCE[0]}")"
# Configuration file # Configuration file
if [ -z "$ENV" ]; then if [ -z "$ENV" ]; then