Browse code

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

KIYOHIRO ADACHI authored on 2013/12/11 16:11:28
Showing 1 changed files
... ...
@@ -87,7 +87,7 @@ get_versions
87 87
 # Eradicate any and all system packages
88 88
 uninstall_package python-pip
89 89
 
90
-if [[ -n "$USE_GET_PIP" ]]; then
90
+if [[ "$USE_GET_PIP" == "1" ]]; then
91 91
     install_get_pip
92 92
 else
93 93
     install_pip_tarball