~emersion/mrsh-dev

Handle weird OUTDIR values in ./configure v1 PROPOSED

Hubert Hirtz: 1
 Handle weird OUTDIR values in ./configure

 1 files changed, 3 insertions(+), 3 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~emersion/mrsh-dev/patches/14824/mbox | git am -3
Learn more about email & git
View this thread in the archives

[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!