summaryrefslogtreecommitdiffstats
path: root/src/secondary-koji
blob: 2be2e8d2e571976ec6613da33204e0bbf53ea67f (plain)
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 "$@"