devel/check-out-of-tree-build.sh: consistent naming, consistent quoting

Renamed from out-of-tree-build-check.sh to be consistent with
other files in this directory.

Fixed quoting in "$srcdir" usage for additional robustness, other
quoting changes for consistency.
This commit is contained in:
Tomi Ollila 2017-10-03 08:18:25 +03:00 committed by David Bremner
parent 288c3660d8
commit 54aef07159

View file

@ -4,12 +4,12 @@
set -eu set -eu
srcdir="$(cd "$(dirname "$0")"/.. && pwd)" srcdir=$(cd "$(dirname "$0")"/.. && pwd)
builddir=$(mktemp -d) builddir=$(mktemp -d)
cd $builddir cd "$builddir"
$srcdir/configure "$srcdir"/configure
make "$@" make "$@"
rm -rf $builddir rm -rf "$builddir"