From de182d672ed34a7e13b4edf9ab3efa8574751aa3 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Mon, 7 Mar 2016 14:21:06 +0100 Subject: [PATCH] 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 --- tools/tox_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tox_install.sh b/tools/tox_install.sh index 85c50b77819..70357748b97 100755 --- a/tools/tox_install.sh +++ b/tools/tox_install.sh @@ -19,7 +19,7 @@ install_cmd="pip install" CONSTRAINTS_FILE=$1 shift -if [ "$CONSTRAINTS_FILE" -ne "unconstrained" ]; then +if [ "$CONSTRAINTS_FILE" != "unconstrained" ]; then install_cmd="$install_cmd -c$CONSTRAINTS_FILE" fi