Fix shellcheck warnings
This commit is contained in:
parent
dc999f9006
commit
9881eebf55
17 changed files with 90 additions and 75 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue