diff options
author | Michel Alexandre Salim <msalim@cs.indiana.edu> | 2009-02-23 20:37:12 -0500 |
---|---|---|
committer | Michel Alexandre Salim <msalim@cs.indiana.edu> | 2009-02-23 20:37:12 -0500 |
commit | bf7db891c9248dea553c24601b78e67a6da92963 (patch) | |
tree | 8ae39188f781379827c5c869a909f77f492dd608 /update-srpm.sh | |
parent | aa74a9a33fe120d37ed37f9c7fad03d1b6d10b57 (diff) | |
download | specs-bf7db891c9248dea553c24601b78e67a6da92963.tar.gz specs-bf7db891c9248dea553c24601b78e67a6da92963.tar.xz specs-bf7db891c9248dea553c24601b78e67a6da92963.zip |
- update-srpm.sh now also upload the new SRPM
Diffstat (limited to 'update-srpm.sh')
-rwxr-xr-x | update-srpm.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/update-srpm.sh b/update-srpm.sh index 764f376..499741a 100755 --- a/update-srpm.sh +++ b/update-srpm.sh @@ -2,4 +2,5 @@ DIR=`dirname $1` PKGNAME=`basename $1 | sed -e 's|.spec$||'` rm -i $DIR/$PKGNAME-*.src.rpm -rpmbuild -bs $1 && mv ~/rpmbuild/SRPMS/$PKGNAME*.src.rpm $DIR/ +rpmbuild -bs $1 && mv ~/rpmbuild/SRPMS/$PKGNAME*.src.rpm $DIR/ \ + && ./upload.sh $DIR/$PKGNAME-*.src.rpm |