mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
autobuild.sh: Fix minor shell-quoting bugs.
* autobuild.sh: Remove unnecessary quotes. Don't choke on a file name argument containing a space. Don't misbehave for $AUTOBUILD_INSTALL_ROOT containing a shell meta-character.
This commit is contained in:
parent
e2d7a26ec0
commit
7e0da18527
@ -1,3 +1,11 @@
|
|||||||
|
Thu Aug 21 21:29:28 CEST 2008 Jim Meyering <meyering@redhat.com>
|
||||||
|
|
||||||
|
autobuild.sh: Fix minor shell-quoting bugs.
|
||||||
|
* autobuild.sh: Remove unnecessary quotes.
|
||||||
|
Don't choke on a file name argument containing a space.
|
||||||
|
Don't misbehave for $AUTOBUILD_INSTALL_ROOT containing
|
||||||
|
a shell meta-character.
|
||||||
|
|
||||||
Wed Aug 21 11:14:09 BST 2008 Daniel P. Berrange <berrange@redhat.com>
|
Wed Aug 21 11:14:09 BST 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
* src/remote_internal.c: Clarify error messages from various
|
* src/remote_internal.c: Clarify error messages from various
|
||||||
|
@ -5,7 +5,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
|
||||||
|
|
||||||
test -f Makefile && make -k distclean || :
|
test -f Makefile && make -k distclean || :
|
||||||
rm -rf coverage
|
rm -rf coverage
|
||||||
@ -14,7 +14,7 @@ rm -rf coverage
|
|||||||
#mkdir build
|
#mkdir build
|
||||||
#cd build
|
#cd build
|
||||||
|
|
||||||
./autogen.sh --prefix=$AUTOBUILD_INSTALL_ROOT \
|
./autogen.sh --prefix="$AUTOBUILD_INSTALL_ROOT" \
|
||||||
--enable-test-coverage \
|
--enable-test-coverage \
|
||||||
--enable-compile-warnings=error \
|
--enable-compile-warnings=error \
|
||||||
--with-openvz \
|
--with-openvz \
|
||||||
@ -25,8 +25,8 @@ make
|
|||||||
make install
|
make install
|
||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
make check 2>&1 | tee $RESULTS
|
make check 2>&1 | tee "$RESULTS"
|
||||||
make syntax-check 2>&1 | tee -a $RESULTS
|
make syntax-check 2>&1 | tee -a "$RESULTS"
|
||||||
test -x /usr/bin/lcov && make cov
|
test -x /usr/bin/lcov && make cov
|
||||||
|
|
||||||
rm -f *.tar.gz
|
rm -f *.tar.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user