]> git.tuebingen.mpg.de Git - paraslash.git/commit - t/test-lib.sh
test-lib: Fix a bash-4.4 issue.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 25 Sep 2016 13:56:43 +0000 (15:56 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Tue, 4 Oct 2016 08:56:36 +0000 (10:56 +0200)
commit33692c33f2effa9620064aec44c6196a8d830d05
tree476464200b7f2326517e7c94ac0cde72ce62cfb7
parentb865ea3383d198464e920194b61d40dee32dc019
test-lib: Fix a bash-4.4 issue.

Apparently bash-4.4 changed how unquoted here strings are treated.
We want to process only the first line of the output, so the right
thing to do is to ask awk to exit after processing the first line.
This works regardless of the bash version.
t/test-lib.sh