提交 94f71441 编写于 作者: E Eric Blake

autobuild.sh: provide default prefix

Without this patch and with a clean environment, ./autobuild.sh
tried to use ./configure --prefix=/, and fails.

* autobuild.sh (AUTOBUILD_INSTALL_ROOT): Provide sensible
default.  Suggested by Daniel P. Berrange.
上级 5d65d32f
...@@ -6,6 +6,7 @@ set -v ...@@ -6,6 +6,7 @@ set -v
# Make things clean. # Make things clean.
test -n "$1" && RESULTS=$1 || RESULTS=results.log test -n "$1" && RESULTS=$1 || RESULTS=results.log
: ${AUTOBUILD_INSTALL_ROOT=$HOME/builder}
test -f Makefile && make -k distclean || : test -f Makefile && make -k distclean || :
rm -rf coverage rm -rf coverage
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册