summaryrefslogtreecommitdiffstats
path: root/mockit
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-09-13 13:59:21 +0200
committerRemi Collet <remi@php.net>2023-09-13 13:59:21 +0200
commit6914c0dca7ae23c2bfbdb00f971c0ae1d8e902f7 (patch)
treed444631c60eb14af2967d70d324df48ec6a6dcaa /mockit
parentf20a7d3dc23829901c40f28c06064a3fe7b8381e (diff)
aarch64 helpers
Diffstat (limited to 'mockit')
-rwxr-xr-xmockit6
1 files changed, 5 insertions, 1 deletions
diff --git a/mockit b/mockit
index 5bdd78d..981f067 100755
--- a/mockit
+++ b/mockit
@@ -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)