#! /bin/sh

arch=`basename $0 | cut -d '-' -f 1`

config="/etc/koji.conf.d/${arch}.conf"

if [ ! -f $config ]; then
    echo "Config file for $arch doesn't exist"
    exit 1
fi

koji --profile ${arch} "$@"
