propel_regenerate.sh 305 B

123456789101112
  1. #!/bin/bash -e
  2. # Absolute path to this script
  3. SCRIPT=`readlink -f $0`
  4. # Absolute directory this script is in
  5. SCRIPTPATH=`dirname $SCRIPT`
  6. cd $SCRIPTPATH/../airtime_mvc/
  7. path=`pwd`
  8. cd build
  9. sed -i s#"project\.home =.*$"#"project.home = $path"#g build.properties
  10. ../library/propel/generator/bin/propel-gen