From a515a70e2b58912877bdf2952e7812410da647f3 Mon Sep 17 00:00:00 2001 From: KIYOHIRO ADACHI Date: Wed, 11 Dec 2013 16:11:28 +0900 Subject: [PATCH] Fixed check method of $USE_GET_PIP '[[ -n "$USE_GET_PIP" ]]' always TRUE because $USE_GET_PIP is '0' or '1'. Change-Id: I73c4c6befe2126882ef21991b2a3fe712b2ac388 Closes-Bug: #1259824 --- tools/install_pip.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/install_pip.sh b/tools/install_pip.sh index a65a77e079..d714d33530 100755 --- a/tools/install_pip.sh +++ b/tools/install_pip.sh @@ -87,7 +87,7 @@ get_versions # Eradicate any and all system packages uninstall_package python-pip -if [[ -n "$USE_GET_PIP" ]]; then +if [[ "$USE_GET_PIP" == "1" ]]; then install_get_pip else install_pip_tarball