Also use sudo -H with pip so that it doesn't create a ~stack/.cache
other things can't write to as the stack user later.
Change-Id: I2134c7d8f58f8b83f33150c9ed86d87f8ccba2f3
| ... | ... |
@@ -85,7 +85,7 @@ function get_package_path {
|
| 85 | 85 |
|
| 86 | 86 |
# Fix prettytable 0.7.2 permissions |
| 87 | 87 |
# Don't specify --upgrade so we use the existing package if present |
| 88 |
-pip_install 'prettytable>0.7' |
|
| 88 |
+pip_install 'prettytable>=0.7' |
|
| 89 | 89 |
PACKAGE_DIR=$(get_package_path prettytable) |
| 90 | 90 |
# Only fix version 0.7.2 |
| 91 | 91 |
dir=$(echo $PACKAGE_DIR/prettytable-0.7.2*) |