[PATCH] Handle weird OUTDIR values in ./configure
Export this patch
---
configure | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure b/configure
index 116d55b..5241e27 100755
--- a/configure
+++ b/configure
@@ -179,7 +179,7 @@ test_ldflags() {
fi
}
-mkdir -p $outdir
+mkdir -p "$outdir"
for flag in \
-g -std=c99 -pedantic -Werror -Wundef -Wlogical-op \
@@ -263,7 +263,7 @@ then
append_libs $($pkg_config --libs $readline)
fi
-printf "Creating $outdir/config.mk... "
+printf "Creating %s/config.mk... " "$outdir"
cat <<EOF > "$outdir"/config.mk
SOVERSION=$SOVERSION
CC=$CC
@@ -286,4 +286,4 @@ mrsh >>"$outdir"/config.mk
highlight >>"$outdir"/config.mk
echo done
-touch $outdir/cppcache
+touch "$outdir"/cppcache
--
2.26.2
Pushed, thanks!