1 2 3 4 5 6 7 8 9 10 11 12 13
#! /bin/sh arch=`basename $0 | cut -d '-' -f 1` config="$HOME/.koji/${arch}-config" if [ ! -f $config ]; then echo "Config file for $arch doesn't exist" echo "run fedora-packager-setup and try again" exit 1 fi koji -c $config "$@"