Skip to content

Commit bc9ec50

Browse files
committed
Merge pull request adafruit#485 from lurch/patch-1
pip-micropython: revert $HOME back to ~
2 parents 5224705 + 6fc40cc commit bc9ec50

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tools/pip-micropython

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ elif [ -n "$MICROPYPATH" ]; then
2525
echo "Destination library directory: $libdest"
2626
else
2727
echo "Warning: MICROPYPATH is not set, assuming default value"
28-
libdest=$HOME/.micropython/lib
28+
libdest=~/.micropython/lib
2929
echo "Destination library directory: $libdest"
3030
fi
3131

@@ -71,9 +71,9 @@ pip install "$@" \
7171
--install-option="--root=$dest"
7272
else
7373
# Here we assume that base dir is lib dir, and install scripts a level
74-
# higher. For default value of $HOME/.micropython/lib/ , this should give
74+
# higher. For default value of ~/.micropython/lib/ , this should give
7575
# reasonable behavior, though better would make it overridable (or
76-
# go bold and use $HOME/bin ?)
76+
# go bold and use ~/bin ?)
7777
pip install "$@" \
7878
--install-option="--install-base=." \
7979
--install-option="--install-purelib=." \

0 commit comments

Comments
 (0)