[go: up one dir, main page]

Skip to content

Commit

Permalink
updated Google Code URLs to GitHub URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Szabo committed Nov 4, 2015
1 parent 9f7b29b commit 69420b3
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 29 deletions.
3 changes: 2 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
statically linked Python 2.x, 3.x and Stackless for 32-bit Linux, Mac OS X and FreeBSD

release/python2.7-static: Linux i386 executable binary download
documentation, project home page: https://rawgit.com/pts/staticpython/master/staticpython.html
Linux i386 executable binary: release/python2.7-static
20 changes: 9 additions & 11 deletions d.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,16 @@ if test $# != 1 || test "${1/\//}" != "$1"; then
exit 1
fi
if test "`uname`" = Darwin; then
URL="http://pts-mini-gpl.googlecode.com/svn/trunk/staticpython/release.darwin/$1"
echo "info: downloading: $URL"
URL="https://raw.githubusercontent.com/pts/staticpython/master/release.darwin/$1"
else
URL="https://raw.githubusercontent.com/pts/staticpython/master/release/$1"
fi
echo "info: downloading: $URL"
if type -p curl >/dev/null 2>&1; then
curl -o "$1.download" "$URL" || exit 2
else
URL="http://pts-mini-gpl.googlecode.com/svn/trunk/staticpython/release/$1"
if type -p wgetz >/dev/null 2>&1; then
wget -O "$1.download" "$URL" || exit 2
else
echo "info: downloading: $URL"
curl -o "$1.download" "$URL" || exit 2
fi
wget -O "$1.download" "$URL" || exit 2
fi
chmod +x "$1.download"
mv "$1.download" "$1"
chmod +x "$1.download" || exit 2
mv "$1.download" "$1" || exit 2
echo "info: download OK, run with: ./$1"
Loading

0 comments on commit 69420b3

Please sign in to comment.