summaryrefslogtreecommitdiffstats
path: root/mockit
diff options
context:
space:
mode:
Diffstat (limited to 'mockit')
-rwxr-xr-xmockit2
1 files changed, 2 insertions, 0 deletions
diff --git a/mockit b/mockit
index cce9f13..6c855a2 100755
--- a/mockit
+++ b/mockit
@@ -54,6 +54,8 @@ esac
if [ -f $srpmdir/$SRPM ]; then
SRPM=$srpmdir/$SRPM
+elif [ -f $PWD/$SRPM ]; then
+ SRPM=$PWD/$SRPM
elif [ ! -f $SRPM ]; then
echo "file not found '$SRPM'"
exit 1