summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-04 22:38:43 +0000
committerbbahnsen <bbahnsen@6f19259b-4bc3-4df7-8a09-765794883524>2007-01-04 22:38:43 +0000
commit835cdfb738cdae80db5cadd14e44ff68c3aa3071 (patch)
tree57ecb8ba7d45c06a7e5a30fa4e923f0803a236dc
parent281ab33133bf050db408e604c28e4cbc33c8cccb (diff)
downloadedk2-835cdfb738cdae80db5cadd14e44ff68c3aa3071.tar.gz
edk2-835cdfb738cdae80db5cadd14e44ff68c3aa3071.tar.bz2
edk2-835cdfb738cdae80db5cadd14e44ff68c3aa3071.zip
Allow resume of the download.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2174 6f19259b-4bc3-4df7-8a09-765794883524
-rwxr-xr-xTools/Python/Install_Python_OSX.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/Tools/Python/Install_Python_OSX.sh b/Tools/Python/Install_Python_OSX.sh
index d22125c6b3..b6365a4d4b 100755
--- a/Tools/Python/Install_Python_OSX.sh
+++ b/Tools/Python/Install_Python_OSX.sh
@@ -3,15 +3,14 @@ echo "It needs to set in order to download through a firewall."
echo "For example: \"export http://proxy.company.com:911\""
set -e
echo "After the download, get ready to enter the root password."
-# export http_proxy=http://proxy.dp.intel.com:911
-# curl --remote-name http://www.python.org/ftp/python/2.4.4/python-2.4.4-macosx2006-10-18.dmg --progress-bar
+curl -C - --remote-name http://www.python.org/ftp/python/2.4.4/python-2.4.4-macosx2006-10-18.dmg --progress-bar
hdiutil attach python-2.4.4-macosx2006-10-18.dmg
sudo installer -pkg "/Volumes/Univeral MacPython 2.4.4/MacPython.mpkg/" -target /
sudo ln -fs /usr/local/bin/python2.4 /usr/bin/python
hdiutil unmount "/Volumes/Univeral MacPython 2.4.4/"
# Get the wxpython installer.
-curl --remote-name http://superb-west.dl.sourceforge.net/sourceforge/wxpython/wxPython2.8-osx-unicode-2.8.0.1-universal10.4-py2.4.dmg --progress-bar
+curl -C - --remote-name http://superb-west.dl.sourceforge.net/sourceforge/wxpython/wxPython2.8-osx-unicode-2.8.0.1-universal10.4-py2.4.dmg --progress-bar
hdiutil attach wxPython2.8-osx-unicode-2.8.0.1-universal10.4-py2.4.dmg
sudo installer -pkg /Volumes/wxPython2.8-osx-unicode-2.8.0.1-universal10.4-py2.4/wxPython2.8-osx-unicode-universal10.4-py2.4.pkg -target /
hdiutil unmount /Volumes/wxPython2.8-osx-unicode-2.8.0.1-universal10.4-py2.4/