index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-11-23 13:38:46 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-11-23 13:38:46 +0100 |
commit | 55f8db7d23c5e75e4b42be15fe6a363c19c7abee (patch) | |
tree | 44ceb90fcf97ee263784ed6cbc41222a00b0e076 /bin | |
parent | 2b8d4378918eb6dfa4b31f3ab34ff5e239aa6879 (diff) |
-rwxr-xr-x | bin/wtf | 10 |
@@ -16,22 +16,22 @@ base_dir=$( readlink -f "${0%/*}/.." ) -case $1 in +search="$*" + +case ${search%% *} in 'i486') arch='i486' - shift + search="${search#* }" ;; 'i686') arch='i686' - shift + search="${search#* }" ;; *) arch='i686' ;; esac -search="$*" - pkgfile -w \ -C "${base_dir}/misc/pacman-${arch}.conf" \ -D "${base_dir}/work/pkgfile-${arch}.cache" \ |