constraints: fixed typo in tox_install.sh
We should not use -ne with strings; instead, != should be used. This bug in the script effectively left all tox targets unconstrained. Change-Id: I867a3c7a2049e1d8e5cde76d8eb60d15880c430d
This commit is contained in:
parent
289e9d988d
commit
de182d672e
@ -19,7 +19,7 @@ install_cmd="pip install"
|
|||||||
CONSTRAINTS_FILE=$1
|
CONSTRAINTS_FILE=$1
|
||||||
shift
|
shift
|
||||||
|
|
||||||
if [ "$CONSTRAINTS_FILE" -ne "unconstrained" ]; then
|
if [ "$CONSTRAINTS_FILE" != "unconstrained" ]; then
|
||||||
install_cmd="$install_cmd -c$CONSTRAINTS_FILE"
|
install_cmd="$install_cmd -c$CONSTRAINTS_FILE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user