summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2018-08-14 03:20:57 +0200
committerAllan McRae <allan@archlinux.org>2018-08-29 06:56:20 +0200
commit48c8f9f2a24632dabe5b1c74a474e3940ddd8748 (patch)
treec180560584066ebe42f664c2ccd359c3dbb79183 /src
parent0696307a3b2e0cbde7d208eb78bbad6a9c8b336f (diff)
downloadpacman-48c8f9f2a24632dabe5b1c74a474e3940ddd8748.tar.gz
pacman-48c8f9f2a24632dabe5b1c74a474e3940ddd8748.tar.xz
makepkg: don't save the same shopts twice
Both run_function and run_function_safe will save and restore `shopt -p` but the former is only called from the latter. It makes sense to save this as part of a "safe" runner, so let's just do it in one place, there where we save and restore everything else too. Signed-off-by: Eli Schwartz <eschwartz@archlinux.org> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions