Make sure to copy env.sh if it is not present

This commit is contained in:
Simon Pamies committed 2013-06-09 11:15:08 +02:00
1 parent 3553e5428f
commit f32d496738
1 file changed
+4
+4
View File
@@ -342,6 +342,10 @@ if [[ "$@" == "install" ]] || [[ "$@" == "all" ]]; then
rm -rf $ACDIR/org.eclipse.*
rm -rf $ACDIR/configuration/org.eclipse.*
if [ ! -d "$ACDIR/env.sh" ]; then
cp -v $PROJECT_HOME/java/target/env.sh $ACDIR/
fi
if [[ $HAS_OVERWRITTEN_TARGET -eq 0 ]] && [ ! -f $ACDIR/no-overwrite ]; then
cp -v $p2PluginRepository/configuration/config.ini configuration/