There is a maintenance of MPCDF Gitlab on Thursday, April 22st 2020, 9:00 am CEST - Expect some service interruptions during this time

Commit 52be7f36 authored by Lorenz Huedepohl's avatar Lorenz Huedepohl

Deal with ancient awk versions/flavors

Debian/Ubuntus default "awk" is from 1996 and does not understand
negated character lists (such as every non-comma letter: [^,]). Let's
hope 1996 perl does.

This fixes issue #56
parent cadf98b1
......@@ -660,7 +660,7 @@ m4_foreach_w([elpa_m4_kind],[real complex],[
# find the number of this kernel
ELPA_2STAGE_[]m4_toupper(elpa_m4_kind)[]_DEFAULT=`grep -i '^ *X(ELPA_2STAGE_'$default_[]elpa_m4_kind[]_kernel'\>' $srcdir/elpa/ | \
awk '// { gsub(/^[[^,]]*, */, ""); gsub(/,.*/, ""); print;}'`
perl -pe 's/^[[^,]]*, *//; s/,.*//;'`
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