1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00
pacman/scripts
Dave Reisner 83d5512bf1 makepkg: avoid nested quoting in string replacement
I suspect this is just wrong -- you never need to quote the replacement
side of a PE. In bash 4.3, this is essentially a no-op, but because of
a bug in bash 4.2, we get embedded quotes as a result of this
replacement. The relevant changelog item in bash is:

  Fixed a bug that caused single quotes that resulted from $'...' quoting
  in the replacement portion of a double-quoted ${word/pat/rep} expansion
  to be treated as quote characters.

But this doesn't apply to us. Let's just drop the excessive quoting...

Signed-off-by: Allan McRae <allan@archlinux.org>
2015-01-11 18:56:57 +10:00
..
library Consistently use 'directory' instead of 'folder' 2014-01-28 21:37:00 +10:00
po Update translations from transifex 2014-12-19 13:53:35 +10:00
.gitignore makepkg: run locally with libtool style wrapper 2013-10-14 13:01:03 +10:00
Makefile.am replace --reference on chmod/chown commands 2014-09-23 21:43:16 +10:00
makepkg-template.pl.in makepkg-template: Remove unused printf format string 2014-12-22 14:01:43 +10:00
makepkg-wrapper.sh.in Update copyright years for 2014 2014-01-06 14:38:50 +10:00
makepkg.sh.in makepkg: avoid nested quoting in string replacement 2015-01-11 18:56:57 +10:00
pacman-db-upgrade.sh.in pacman-db-upgrade: set umask 022 2014-12-24 11:15:15 +10:00
pacman-key.sh.in pacman-key: compatibility with gnupg-2.1 2014-11-21 20:54:58 +10:00
pacman-optimize.sh.in replace --reference on chmod/chown commands 2014-09-23 21:43:16 +10:00
pkgdelta.sh.in Remove ts and sw from vim modeline when noet is set 2014-01-28 20:19:25 +10:00
repo-add.sh.in repo-add: declare pkgbase as local 2014-03-27 15:46:07 +10:00