Commit 9f043da5 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

pip-micropython: Require command verb, but restrict to "install" only.

So, pip-micropython can/should be run as normal pip:

    pip-micropython install micropython-unittest
parent 07e24a62
......@@ -6,6 +6,12 @@
# ports (if PIP_MICROPY_DEST environment var is set).
if [ "$1" != "install" ]; then
echo "Only install command is supported currently"
exit 1
if [ -n "$PIP_MICROPY_DEST" ]; then
echo "Destination snapshot directory: $dest"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment