summarylogtreecommitdiffstats
path: root/krakatau-decompile
blob: da8182bd5b992cf57c50e43c2c51de7caef19fdc (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/sh

if command -v pypy &> /dev/null; then
  PYTHON=pypy
else
  PYTHON=python2
fi

export JAVA_HOME=/usr/lib/jvm/default
exec $PYTHON -O /usr/share/krakatau/decompile.py "$@"