diff options
author | Justin Davis <jrcd83@gmail.com> | 2011-10-07 23:10:46 +0200 |
---|---|---|
committer | Justin Davis <jrcd83@gmail.com> | 2011-10-07 23:10:46 +0200 |
commit | 594afc9729a3a24ad08c8b84d8c215c963a4ea89 (patch) | |
tree | 843db46c0d68a1fbc3711d645fe79b5647d3774d /bin/makepkgbuild | |
parent | edebea3bc55bed55522c5c5d419e9d80831d912a (diff) | |
download | genpkg-594afc9729a3a24ad08c8b84d8c215c963a4ea89.tar.gz genpkg-594afc9729a3a24ad08c8b84d8c215c963a4ea89.tar.xz |
Fix bug with ksh expanding newline in dquotes.
Diffstat (limited to 'bin/makepkgbuild')
-rwxr-xr-x | bin/makepkgbuild | 4 |
1 files changed, 2 insertions, 2 deletions
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 |