[Rivet-svn] r2642 - trunk/bin

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Wed Aug 4 14:43:30 BST 2010


Author: buckley
Date: Wed Aug  4 14:43:28 2010
New Revision: 2642

Log:
Cosmetic fix for systems where 'which' is a bit shouty

Modified:
   trunk/bin/rivet-buildplugin

Modified: trunk/bin/rivet-buildplugin
==============================================================================
--- trunk/bin/rivet-buildplugin	Wed Aug  4 00:11:08 2010	(r2641)
+++ trunk/bin/rivet-buildplugin	Wed Aug  4 14:43:28 2010	(r2642)
@@ -17,7 +17,7 @@
 
 ## Work out shared library build flags by platform
 shared_flags=
-SWVERS=`which sw_vers`
+SWVERS=$(which sw_vers 2> /dev/null)
 if test "$SWVERS" && test -x "$SWVERS"; then
   ## Mac OS X
   shared_flags="-undefined dynamic_lookup -bundle"


More information about the Rivet-svn mailing list