From 54aef071590cb23f61da943daa29080cf7446696 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Tue, 3 Oct 2017 08:18:25 +0300 Subject: [PATCH] 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. --- ...-of-tree-build-check.sh => check-out-of-tree-build.sh} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename devel/{out-of-tree-build-check.sh => check-out-of-tree-build.sh} (57%) diff --git a/devel/out-of-tree-build-check.sh b/devel/check-out-of-tree-build.sh similarity index 57% rename from devel/out-of-tree-build-check.sh rename to devel/check-out-of-tree-build.sh index 984b4b5f..3e443ea2 100755 --- a/devel/out-of-tree-build-check.sh +++ b/devel/check-out-of-tree-build.sh @@ -4,12 +4,12 @@ set -eu -srcdir="$(cd "$(dirname "$0")"/.. && pwd)" +srcdir=$(cd "$(dirname "$0")"/.. && pwd) builddir=$(mktemp -d) -cd $builddir +cd "$builddir" -$srcdir/configure +"$srcdir"/configure make "$@" -rm -rf $builddir +rm -rf "$builddir" -- 2.26.2