Skip to content

Commit 6f76a44

Browse files
mvollmerstefwalter
authored andcommitted
tools: Drop a "-testing" suffix in make-rpms
This allows mock to build f22 rpms for the fedora-22-testing OS variant. Closes #2456 Reviewed-by: Stef Walter <[email protected]>
1 parent d3d775c commit 6f76a44

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/make-rpms

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ if [[ "$os" =~ "fedora-atomic" ]]; then
7474
else
7575
os=$os
7676
fi
77+
78+
# drop a "-testing" suffix
79+
os=${os/%-testing/}
80+
7781
arch=${TEST_ARCH:-}
7882

7983
srpm=$("$make_srpm" "$@")

0 commit comments

Comments
 (0)