From b401eaeb060df572b4fa6d27c8208814d389d3b4 Mon Sep 17 00:00:00 2001 From: "David Kaspar [Dee'Kej]" Date: Thu, 14 Jun 2018 16:42:58 +0200 Subject: [PATCH] rebase.sh: relative path is now used for the SRPM --- rebase.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rebase.sh b/rebase.sh index e1065f0..a7c52bf 100755 --- a/rebase.sh +++ b/rebase.sh @@ -16,7 +16,7 @@ curl https://raw.githubusercontent.com/fedora-sysv/initscripts/master/initscript spectool -g initscripts.spec # Make a local scratch build in mock first. If it fails, do not upload new tarball! -srpm_file="$(fedpkg srpm | grep -i "wrote" | cut -d ':' -f 2)" +srpm_file="$(basename $(fedpkg srpm | grep -i "wrote" | cut -d ':' -f 2))" arch="$(uname -p)" mock -r "fedora-rawhide-${arch}" "${srpm_file}" || exit 2