[Tinyos-2-commits] CVS: tinyos-2.x/tools/release build-rpms, 1.5, 1.6

Jan Beutel beutel at users.sourceforge.net
Mon Aug 13 06:48:06 PDT 2007


Update of /cvsroot/tinyos/tinyos-2.x/tools/release
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv7426/tools/release

Modified Files:
	build-rpms 
Log Message:
added test to see if RPMS is overridden by the environment

Index: build-rpms
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tools/release/build-rpms,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** build-rpms	30 Jul 2007 02:36:49 -0000	1.5
--- build-rpms	13 Aug 2007 13:48:04 -0000	1.6
***************
*** 4,8 ****
  # For linux, change to /usr/src/redhat
  # For my cygwin: /cygdrive/c/rpmsrc
! RPMS=/usr/src/redhat
  TINYOS_VERSION=2.0.2
  TINYOS_TOOLS_VERSION=1.2.4
--- 4,10 ----
  # For linux, change to /usr/src/redhat
  # For my cygwin: /cygdrive/c/rpmsrc
! if [ -z $RPMS ]; then #test to see if RPMS is overridden by the environment
! 		RPMS=/usr/src/redhat
! fi		
  TINYOS_VERSION=2.0.2
  TINYOS_TOOLS_VERSION=1.2.4
***************
*** 35,39 ****
  cd $RPMS
  rpmbuild -bb $HERE/tinyos.spec
! rpmbuild -bb $HERE/tinyos-tools.spec
  #rpmbuild -bb $HERE/task-tinydb/task-tinydb.spec
  #rpmbuild -bb $HERE/contrib/contrib.spec
--- 37,41 ----
  cd $RPMS
  rpmbuild -bb $HERE/tinyos.spec
! #rpmbuild -bb $HERE/tinyos-tools.spec
  #rpmbuild -bb $HERE/task-tinydb/task-tinydb.spec
  #rpmbuild -bb $HERE/contrib/contrib.spec



More information about the Tinyos-2-commits mailing list