aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/setup.sh')
-rwxr-xr-xscripts/setup.sh12
1 files changed, 11 insertions, 1 deletions
diff --git a/scripts/setup.sh b/scripts/setup.sh
index fdcb0a4..b1ded53 100755
--- a/scripts/setup.sh
+++ b/scripts/setup.sh
@@ -278,7 +278,17 @@ update_feature_remote()
fi
[ "x$installIU" = "x" ] && err_exit 1 "Can NOT find candidates of $2 version($3, $4) at $1!"
- [ "$P2_INSTALL_TRACE" == "1" ] && TRACE_OPTS="-debug ./trace.ini"
+
+ TRACE_INI=`pwd`/trace.ini
+
+ if [ "$P2_INSTALL_TRACE" == "1" ]; then
+ echo "org.eclipse.equinox.p2.core/debug=true" > $TRACE_INI
+ echo "org.eclipse.equinox.p2.core/artifacts/mirrors=true" >> $TRACE_INI
+ TRACE_OPTS="-debug $TRACE_INI"
+ else
+ rm -f $TRACE_INI
+ TRACE_OPTS=
+ fi
installIU="$2/$installIU"
java ${PROXY_PARAM} -jar ${LAUNCHER} \