Commit f7ab6611 authored by Matthias Vallentin's avatar Matthias Vallentin

Make configure script POSIX compliant.

The script used a Bash built-in to store a multi-line string into a variable
(read -d), which is not POSIX compliant. Fixed by using cat.
parent 275ce111
......@@ -193,7 +193,7 @@ else
fi
echo "DIRS :=$workdirs\n" > $sourcedir/Makefile
read -d '' makefile <<"EOT"
makefile=$(cat<<'EOT'
all:
@for i in $(DIRS); do $(MAKE) -C $$i $@; done
......@@ -214,5 +214,6 @@ distclean:
.PHONY: all test install uninstall clean distclean
EOT
)
echo "$makefile" >> $sourcedir/Makefile
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment