diff options
author | joerg <joerg@pkgsrc.org> | 2020-01-16 22:53:11 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2020-01-16 22:53:11 +0000 |
commit | 5205ab5c01a233b8108afce9d30484cdc733e8bc (patch) | |
tree | 5c29b0e82ffe1ad4971db4ea81ca1e388a3e160a /mk | |
parent | 9dbe9d9ab0286442121e4b727012da5f296a4088 (diff) | |
download | pkgsrc-5205ab5c01a233b8108afce9d30484cdc733e8bc.tar.gz |
Don't escape newline and tab in regex, newer gawk complains.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/check/check-shlibs-elf.awk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/check/check-shlibs-elf.awk b/mk/check/check-shlibs-elf.awk index b9286b21ddd..8f0f727b183 100644 --- a/mk/check/check-shlibs-elf.awk +++ b/mk/check/check-shlibs-elf.awk @@ -1,4 +1,4 @@ -# $NetBSD: check-shlibs-elf.awk,v 1.17 2018/03/23 04:31:53 triaxx Exp $ +# $NetBSD: check-shlibs-elf.awk,v 1.18 2020/01/16 22:53:11 joerg Exp $ # # Copyright (c) 2007 Joerg Sonnenberger <joerg@NetBSD.org>. # All rights reserved. @@ -41,8 +41,8 @@ function shquote(IN, out) { out = IN; gsub("\\\\", "\\\\", out); - gsub("\\\n", "\\n", out); - gsub("\\\t", "\\t", out); + gsub("\n", "\\n", out); + gsub("\t", "\\t", out); gsub(" ", "\\ ", out); gsub("'", "\\'", out); gsub("`", "\\`", out); |