From 5c893b921daa558ee59f08b8b2c41a807d665212 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 23 May 2012 18:08:13 +0200 Subject: [PATCH] pass the target distro as arg $1 --- submit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submit b/submit index d0d39a4..df1f3f0 100755 --- a/submit +++ b/submit @@ -26,6 +26,6 @@ scp $PACKAGE.spec $ME@build.firewall-services.com:rpmbuild/SPECS/ # And build ssh -l $ME build.firewall-services.com rpmbuild -bs --nodeps rpmbuild/SPECS/$PACKAGE.spec -ssh -l $ME build.firewall-services.com buildrpm rpmbuild/SRPMS/$PACKAGE-$VERSION-*.src.rpm sme8 +ssh -l $ME build.firewall-services.com buildrpm rpmbuild/SRPMS/$PACKAGE-$VERSION-*.src.rpm $1 ssh -l $ME build.firewall-services.com rm -f rpmbuild/SPECS/$PACKAGE.spec rpmbuild/SOURCES/$PACKAGE-$VERSION.tar.gz rpmbuild/SRPMS/$PACKAGE-$VERSION*.src.rpm