summaryrefslogtreecommitdiffstats
path: root/bin/makepkgbuild
diff options
context:
space:
mode:
authorJustin Davis <jrcd83@gmail.com>2011-10-07 23:10:46 +0200
committerJustin Davis <jrcd83@gmail.com>2011-10-07 23:10:46 +0200
commit594afc9729a3a24ad08c8b84d8c215c963a4ea89 (patch)
tree843db46c0d68a1fbc3711d645fe79b5647d3774d /bin/makepkgbuild
parentedebea3bc55bed55522c5c5d419e9d80831d912a (diff)
downloadgenpkg-594afc9729a3a24ad08c8b84d8c215c963a4ea89.tar.gz
genpkg-594afc9729a3a24ad08c8b84d8c215c963a4ea89.tar.xz
Fix bug with ksh expanding newline in dquotes.
Diffstat (limited to 'bin/makepkgbuild')
-rwxr-xr-xbin/makepkgbuild4
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