Also overwrite start,stop once when env.sh is not present

This commit is contained in:
Simon Pamies committed 2013-06-09 11:18:20 +02:00
1 parent f674d75ae0
commit b7a25eb316
1 file changed
+2
+2
View File
@@ -344,6 +344,8 @@ if [[ "$@" == "install" ]] || [[ "$@" == "all" ]]; then
if [ ! -f "$ACDIR/env.sh" ]; then
cp -v $PROJECT_HOME/java/target/env.sh $ACDIR/
cp -v $PROJECT_HOME/java/target/start $ACDIR/
cp -v $PROJECT_HOME/java/target/stop $ACDIR/
fi
if [[ $HAS_OVERWRITTEN_TARGET -eq 0 ]] && [ ! -f $ACDIR/no-overwrite ]; then