From 594afc9729a3a24ad08c8b84d8c215c963a4ea89 Mon Sep 17 00:00:00 2001 From: Justin Davis Date: Fri, 7 Oct 2011 17:10:46 -0400 Subject: Fix bug with ksh expanding newline in dquotes. --- bin/makepkgbuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/makepkgbuild b/bin/makepkgbuild index f2469bf..0df3bdb 100755 --- a/bin/makepkgbuild +++ b/bin/makepkgbuild @@ -10,7 +10,7 @@ appendpb() case "$txt" in '') return 0 ;; - *) echo "/^ *${func}()[ \\n]*{ + *) echo "/^ *${func}() *{ /^} i $txt @@ -29,7 +29,7 @@ prependpb() case "$txt" in '') return 0 ;; - *) echo "/^ *${func}()[ \\n]*{ + *) echo "/^ *${func}() *{ /^[ \t]*cd/ a $txt -- cgit v1.2.3-24-g4f1b