提交 2adfa421 编写于 作者: S SeongJae Park 提交者: Paul E. McKenney

rcutorture/configinit: Fix build directory error message

The 'configinit.sh' script checks the format of optional argument for the
build directory, printing an error message if the format is not valid.
However, the error message uses the wrong variable, indicating an empty
string even though the user entered a non-empty (but erroneous) string.
This commit fixes the script to use the correct variable.

Fixes: c87b9c60 ("rcutorture: Add KVM-based test framework")
Signed-off-by: NSeongJae Park <sj38.park@gmail.com>
Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
上级 e8302739
...@@ -51,7 +51,7 @@ then ...@@ -51,7 +51,7 @@ then
mkdir $builddir mkdir $builddir
fi fi
else else
echo Bad build directory: \"$builddir\" echo Bad build directory: \"$buildloc\"
exit 2 exit 2
fi fi
fi fi
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册