diff options
author | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2018-06-19 22:33:56 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2018-08-10 04:37:20 +0200 |
commit | 4e83abaae51c82ce6571450fb3ed9e2e71175b68 (patch) | |
tree | bc3df61153508b4cbf90b1d00a0a00dcfd2ee110 /scripts/makepkg.sh.in | |
parent | 92bc0a474081c56d71605787d57ea2f6715a639c (diff) | |
download | pacman-4e83abaae51c82ce6571450fb3ed9e2e71175b68.tar.gz pacman-4e83abaae51c82ce6571450fb3ed9e2e71175b68.tar.xz |
libmakepkg/util/option: Refactor checking to reduce code duplication
Pull out the expected=y/n check into a separate function and make use of
the fact we can just prepend the fallback arrays to get the same result.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts/makepkg.sh.in')
0 files changed, 0 insertions, 0 deletions