summaryrefslogtreecommitdiffstatshomepage
path: root/tools/pip-micropython
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-04-15 02:32:41 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-04-15 02:32:41 +0300
commitcc8c0882a0e7fefc95fd1a01c5c0c42b453e1984 (patch)
treec6a3a5fd7a46a8bb45584877b4a6a69992bcd7fa /tools/pip-micropython
parente10da77a5c4711287319b762c3238121ac10f48e (diff)
downloadmicropython-cc8c0882a0e7fefc95fd1a01c5c0c42b453e1984.tar.gz
micropython-cc8c0882a0e7fefc95fd1a01c5c0c42b453e1984.zip
pip-micropython: Fix inverted condition.
Diffstat (limited to 'tools/pip-micropython')
-rwxr-xr-xtools/pip-micropython2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pip-micropython b/tools/pip-micropython
index 3d3681198c..0db699f0c0 100755
--- a/tools/pip-micropython
+++ b/tools/pip-micropython
@@ -12,7 +12,7 @@ if [ "$1" != "install" ]; then
fi
shift
-if [ -n "$TMPDIR" ]; then
+if [ -z "$TMPDIR" ]; then
TMPDIR=/tmp
fi
TMPVENV="$TMPDIR/pip-micropy-venv"