]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tools/release/build-rpms
instead of exiting, print just a warning when data section is not found in the binary...
[tinyos-2.x.git] / tools / release / build-rpms
index a57ad6782cef0ef6adfd11a2a69b23398009eda5..95768b7b9c48c38167d315acb2401d1c70f8cc91 100755 (executable)
@@ -3,7 +3,9 @@
 
 # For linux, change to /usr/src/redhat
 # For my cygwin: /cygdrive/c/rpmsrc
-RPMS=/usr/src/redhat
+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