Browse files

copy js rpm on successful build to prevent pointless rebuild

  • Loading branch information...
1 parent dab0289 commit bf2127c768a6bab4cc9504ade0b5b8d147db7ffd Robert Newson committed Feb 15, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 rpm/build
1 rpm/build
@@ -62,6 +62,7 @@ EOF
sudo cp js*.patch js*.tar.gz $DIR$HOME/rpmbuild/SOURCES
$SETARCH sudo chroot $DIR rpmbuild -ba $HOME/js.spec
$SETARCH sudo chroot $DIR rpm --install --force --nodeps $HOME/rpmbuild/RPMS/$2/*.rpm
+ sudo cp $DIR$HOME/rpmbuild/RPMS/$2/*.rpm ~/rpm/centos-$1-$2_result/
# Install js-devel (only on CentOS 5)

0 comments on commit bf2127c

Please sign in to comment.