Commit d8ddb47b authored by Pietro Cavassin's avatar Pietro Cavassin
Browse files

fix exec format error

parent 2d2f28e9
#!/usr/bin/env bash
# Copyright (C) 2021 Centro de Computacao Cientifica e Software Livre
# Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
......@@ -18,17 +19,16 @@
# along with ensalamento-back If not, see <https://www.gnu.org/licenses/>.
#!/usr/bin/env bash
set -e
# if [ "$1" = 'DEVELOPMENT' ]; then
# /usr/local/bin/node /app/bin/automigrate.js
# fi
if [ "$1" = 'DEVELOPMENT' ]; then
/usr/local/bin/node /app/bin/automigrate.js
fi
# if [ "$1" = 'PRODUCTION' ]; then
# /usr/local/bin/node /app/bin/automigrate.js
# fi
if [ "$1" = 'PRODUCTION' ]; then
/usr/local/bin/node /app/bin/automigrate.js
fi
# echo "while true; do sleep 2; done" >> /app/test.sh && chmod +x /app/test.sh
# /bin/bash /app/test.sh
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment