diff options
author | Remi Collet <remi@remirepo.net> | 2023-09-13 15:19:39 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2023-09-13 15:19:39 +0200 |
commit | ac879a65ab3c768af2f269fd426041affdc78f4d (patch) | |
tree | 9e40a608012b15c2e1108157ba666d7b4f0cf5f0 | |
parent | 46c009394b5616f4a212c4ae0aa5551513f6625d (diff) |
fix local paths
-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 |