Fix shellcheck warnings

This commit is contained in:
jo 2021-08-16 23:00:01 +02:00
parent dc999f9006
commit 9881eebf55
17 changed files with 90 additions and 75 deletions

View file

@ -3,12 +3,12 @@
set -e
# Absolute path to this script
SCRIPT=$(readlink -f $0)
SCRIPT=$(readlink -f "$0")
# Absolute directory this script is in
SCRIPTPATH=$(dirname $SCRIPT)
SCRIPTPATH=$(dirname "$SCRIPT")
cd $SCRIPTPATH/../airtime_mvc/
cd "$SCRIPTPATH/../airtime_mvc/" || (echo "could not cd in $SCRIPTPATH/../airtime_mvc/" && exit 1)
path=$(pwd)
cd build
sed -i s:"project\.home =.*$":"project.home = $path":g build.properties
sed -i "s|\"project\.home =.*$\"|\"project.home = $path\"|g" build.properties
../../vendor/propel/propel1/generator/bin/propel-gen