devstack: Fix check for blank prefix arg.

The check to see if the prefix arg was specified would always be true, even if
the argument was not specified.  This fixes it.

Change-Id: I60825c884e4d64aab2abc11d8da9bc1979baf0de
Signed-off-by: Russell Bryant <rbryant@redhat.com>
This commit is contained in:
Russell Bryant 2016-02-06 13:24:00 -05:00
parent 060905783f
commit 5b029a8965

View File

@ -41,7 +41,7 @@ function compile_ovs {
local build_modules=${1:-True}
local prefix=$2
if [ -n $prefix ]; then
if [ -n "$prefix" ]; then
prefix="--prefix=$prefix"
fi