pacman/scripts
Eli Schwartz 9e52a36794 makepkg: use the declare builtin when backing up variables to eval
Rather than manually crafting foo_backup in a loop and eval'ing them
with a complicated escape pattern, store every splitpkg_overrides
element into a single variable via the eval-friendly `declare` builtin.

An alternative to eval would be using `printf -v` but this does not work
for arrays.

This has the additional benefit of reducing the number of
variables/arrays floating around in the environment.

Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
2018-03-15 14:39:31 +10:00
..
completion use pacman-conf in bash completion 2018-01-19 12:04:45 +10:00
libmakepkg libmakepkg: Add basic rules to lint makepkg.conf variables 2018-03-15 14:34:13 +10:00
library makepkg: Move parseopts from library to libmakepkg 2016-10-22 20:50:54 +10:00
po makepkg: warn about dotfiles in package root 2017-01-04 13:59:14 +10:00
.gitignore makepkg: Move parseopts from library to libmakepkg 2016-10-22 20:50:54 +10:00
Makefile.am libmakepkg: Add basic rules to lint makepkg.conf variables 2018-03-15 14:34:13 +10:00
makepkg-template.pl.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
makepkg.sh.in makepkg: use the declare builtin when backing up variables to eval 2018-03-15 14:39:31 +10:00
pacman-db-upgrade.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
pacman-key.sh.in Added gpg-agent.conf to disable the gnupg scdaemon 2018-03-14 17:45:08 +10:00
pkgdelta.sh.in Replace @SIZECMD@ with POSIX-compatible command 2017-04-04 12:21:20 +10:00
repo-add.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00
wrapper.sh.in Update coyrights for 2018 2018-03-14 13:31:31 +10:00