File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11statically linked Python 2.x, 3.x and Stackless for 32-bit Linux, Mac OS X and FreeBSD
22
3- release/python2.7-static: Linux i386 executable binary download
3+ documentation, project home page: https://rawgit.com/pts/staticpython/master/staticpython.html
4+ Linux i386 executable binary: release/python2.7-static
Original file line number Diff line number Diff line change @@ -13,18 +13,16 @@ if test $# != 1 || test "${1/\//}" != "$1"; then
1313 exit 1
1414fi
1515if test " ` uname` " = Darwin; then
16- URL=" http://pts-mini-gpl.googlecode.com/svn/trunk/staticpython/release.darwin/$1 "
17- echo " info: downloading: $URL "
16+ URL=" https://raw.githubusercontent.com/pts/staticpython/master/release.darwin/$1 "
17+ else
18+ URL=" https://raw.githubusercontent.com/pts/staticpython/master/release/$1 "
19+ fi
20+ echo " info: downloading: $URL "
21+ if type -p curl > /dev/null 2>&1 ; then
1822 curl -o " $1 .download" " $URL " || exit 2
1923else
20- URL=" http://pts-mini-gpl.googlecode.com/svn/trunk/staticpython/release/$1 "
21- if type -p wgetz > /dev/null 2>&1 ; then
22- wget -O " $1 .download" " $URL " || exit 2
23- else
24- echo " info: downloading: $URL "
25- curl -o " $1 .download" " $URL " || exit 2
26- fi
24+ wget -O " $1 .download" " $URL " || exit 2
2725fi
28- chmod +x " $1 .download"
29- mv " $1 .download" " $1 "
26+ chmod +x " $1 .download" || exit 2
27+ mv " $1 .download" " $1 " || exit 2
3028echo " info: download OK, run with: ./$1 "
You can’t perform that action at this time.
0 commit comments