aboutsummaryrefslogtreecommitdiff
path: root/tools/jafter
diff options
context:
space:
mode:
authorjestin2016-02-14 16:08:22 +0000
committerjestin2016-02-14 16:08:22 +0000
commit1e03020739271f2b6a37ca7010d42d1d4499330a (patch)
treef30238db8abf4a3f78ec6d3622b56b3bc74b3976 /tools/jafter
parent94e8bb452f6c698f0aa48e2a0267c605471577fe (diff)
downloadivy-java-1e03020739271f2b6a37ca7010d42d1d4499330a.zip
ivy-java-1e03020739271f2b6a37ca7010d42d1d4499330a.tar.gz
ivy-java-1e03020739271f2b6a37ca7010d42d1d4499330a.tar.bz2
ivy-java-1e03020739271f2b6a37ca7010d42d1d4499330a.tar.xz
Diffstat (limited to 'tools/jafter')
-rwxr-xr-xtools/jafter4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/jafter b/tools/jafter
index 113a8a9..bf99dee 100755
--- a/tools/jafter
+++ b/tools/jafter
@@ -9,8 +9,10 @@ re=/usr/share/java/regexp.jar
go=/usr/share/java/gnu-getopt.jar
bus=
+NOIPV6=-Djava.net.preferIPv4Stack=true
+
if [ "$IVYBUS" ]; then
bus="-DIVYBUS=${IVYBUS}"
fi
-java -classpath ${jar}:${re}:${go} $bus fr.dgac.ivy.tools.After "$@"
+java ${NOIPV6} -classpath ${jar}:${re}:${go} $bus fr.dgac.ivy.tools.After "$@"