diff options
author | Remi Collet <remi@remirepo.net> | 2024-04-19 12:25:08 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-04-19 12:25:08 +0200 |
commit | 1249a977bbfd9a7a7c741040ba4c991ac0718fd2 (patch) | |
tree | 8eb739daf9dadaa4d90b84987f1b71b7732e4072 | |
parent | 5e04aa10c25c47f6d0e8210cf432a3dd4d2dad34 (diff) |
mockit: make relative path absolute
-rwxr-xr-x | mockit | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |