Skip to content

Commit 69420b3

Browse files
author
Peter Szabo
committed
updated Google Code URLs to GitHub URLs
1 parent 9f7b29b commit 69420b3

3 files changed

Lines changed: 28 additions & 29 deletions

File tree

README.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
statically 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

d.sh

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,16 @@ if test $# != 1 || test "${1/\//}" != "$1"; then
1313
exit 1
1414
fi
1515
if 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
1923
else
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
2725
fi
28-
chmod +x "$1.download"
29-
mv "$1.download" "$1"
26+
chmod +x "$1.download" || exit 2
27+
mv "$1.download" "$1" || exit 2
3028
echo "info: download OK, run with: ./$1"

0 commit comments

Comments
 (0)