index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-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" \ |