File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ # vim:ts=4:sts=4:sw=4:et
3+ #
4+ # Author: Hari Sekhon
5+ # Date: 2016-08-01 10:17:55 +0100 (Mon, 01 Aug 2016)
6+ #
7+ # https://github.com/harisekhon/pytools
8+ #
9+ # License: see accompanying Hari Sekhon LICENSE file
10+ #
11+ # If you're using my code you're welcome to connect with me on LinkedIn and optionally send me feedback to help steer this or other code I publish
12+ #
13+ # https://www.linkedin.com/in/harisekhon
14+ #
15+
16+ set -euo pipefail
17+ [ -n " ${DEBUG:- } " ] && set -x
18+ srcdir=" $( cd " $( dirname " $0 }" ) " && pwd ) "
19+
20+ JYTHON_VERSION=2.7.0
21+
22+ mkdir -p /opt
23+ wget -cO jython-installer.jar " http://search.maven.org/remotecontent?filepath=org/python/jython-installer/$JYTHON_VERSION /jython-installer-$JYTHON_VERSION .jar"
24+ " $srcdir /jython_autoinstall.exp"
25+ ln -sf " /opt/jython-$JYTHON_VERSION " /opt/jython
26+ rm -f jython-installer.jar
27+ echo " Jython Install DONE - Add /opt/jython/bin to your \$ PATH"
You can’t perform that action at this time.
0 commit comments