Skip to content
Snippets Groups Projects
Commit bc9ec500 authored by Damien George's avatar Damien George
Browse files

Merge pull request #485 from lurch/patch-1

pip-micropython: revert $HOME back to ~
parents 52247052 6fc40cc3
Branches
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ elif [ -n "$MICROPYPATH" ]; then ...@@ -25,7 +25,7 @@ elif [ -n "$MICROPYPATH" ]; then
echo "Destination library directory: $libdest" echo "Destination library directory: $libdest"
else else
echo "Warning: MICROPYPATH is not set, assuming default value" echo "Warning: MICROPYPATH is not set, assuming default value"
libdest=$HOME/.micropython/lib libdest=~/.micropython/lib
echo "Destination library directory: $libdest" echo "Destination library directory: $libdest"
fi fi
...@@ -71,9 +71,9 @@ pip install "$@" \ ...@@ -71,9 +71,9 @@ pip install "$@" \
--install-option="--root=$dest" --install-option="--root=$dest"
else else
# Here we assume that base dir is lib dir, and install scripts a level # Here we assume that base dir is lib dir, and install scripts a level
# higher. For default value of $HOME/.micropython/lib/ , this should give # higher. For default value of ~/.micropython/lib/ , this should give
# reasonable behavior, though better would make it overridable (or # reasonable behavior, though better would make it overridable (or
# go bold and use $HOME/bin ?) # go bold and use ~/bin ?)
pip install "$@" \ pip install "$@" \
--install-option="--install-base=." \ --install-option="--install-base=." \
--install-option="--install-purelib=." \ --install-option="--install-purelib=." \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment