diff options
Diffstat (limited to 'mockit')
-rwxr-xr-x | mockit | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -34,8 +34,16 @@ else shift fi -mocketc=/home/rpmbuild/SPECS/remirepo/tools/mock -srpmdir=/home/rpmbuild/site/rpms +case $DIST in + *x) + mocketc=/home/rpmbuild/SPECS/remirepo/tools/mock + srpmdir=/home/rpmbuild/site/rpms/SRPMS + ;; + *a) + mocketc=/home/remi/mock + srpmdir=/home/remi/SRPMS + ;; +esac if [ -f $srpmdir/$SRPM ]; then SRPM=$srpmdir/$SRPM |