contrib/rpm: fix --srpm option of build_clean.sh
authorThomas Haller <thaller@redhat.com>
Fri, 19 Dec 2014 11:22:34 +0000 (12:22 +0100)
committerThomas Haller <thaller@redhat.com>
Fri, 19 Dec 2014 11:35:36 +0000 (12:35 +0100)
Forgot to export the $BUILDTYPE variable. Hence --srpm did not
work.

contrib/fedora/rpm/build_clean.sh

index a0d1c1f..b57b709 100755 (executable)
@@ -88,5 +88,7 @@ else
     make distcheck || die "Error make distcheck"
 fi
 
+export BUILDTYPE
+
 "$SCRIPTDIR"/build.sh