diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-05-24 01:16:21 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-05-24 01:16:21 -0400 |
commit | 75e3c4c6a363ea44a8aa926f2882ff779a48ac52 (patch) | |
tree | 925a85bb2015f6a51a155d8f9a40a4a789adffde | |
parent | 8af4165fe35df0cdc1fb23b0b4974488e6b5fa32 (diff) |
libretools.conf: autodetect ARCHES based on /usr/share/pacman/defaults/
-rw-r--r-- | src/libretools.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libretools.conf b/src/libretools.conf index b641e77..fb4593c 100644 --- a/src/libretools.conf +++ b/src/libretools.conf @@ -16,7 +16,7 @@ DIFFPROG=$(which $([ -z "${DISPLAY:-}" ]||echo kdiff3 meld gvimdiff) vimdiff col ## The architectures you'll be packaging for ## Used by `librestage`, `xbs-abslibre` -ARCHES=('x86_64' 'i686') +ARCHES=($(printf '%s\n' /usr/share/pacman/defaults/pacman.conf.*|sed 's|.*\.||')) ## ABSLibre # Used by xbs-abslibre |