upip: bootstrap_upip.sh: Perform processing in /tmp.

pull/26/head
Paul Sokolovsky 2015-05-08 01:06:14 +03:00
rodzic 3735172b48
commit d86720fe9f
1 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -1,6 +1,12 @@
# This script performs bootstrap installation of upip package manager from PyPI
# All the other packages can be installed using it.
if [ -z "$TMPDIR" ]; then
cd /tmp
else
cd $TMPDIR
fi
# Remove any stale old version
rm -rf micropython-upip-*
wget -nd -r -l1 https://pypi.python.org/pypi/micropython-upip/ --accept-regex ".*pypi.python.org/packages/source/.*.gz" --reject=html