diff options
Diffstat (limited to 'mockit')
-rwxr-xr-x | mockit | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -35,11 +35,15 @@ else fi mocketc=/home/rpmbuild/SPECS/remirepo/tools/mock +srpmdir=/home/rpmbuild/site/rpms -if [ ! -f $SRPM ]; then +if [ -f $srpmdir/$SRPM ]; then + SRPM=$srpmdir/$SRPM +elif [ ! -f $SRPM ]; then echo "file not found '$SRPM'" exit 1 fi + echo mockit $SRPM $DIST $MIN $MAX $@ case $DIST in fc37x|fc38x|fc39x|el9x) |