You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2011/04/18 15:44:28 UTC
svn commit: r1094570 -
/commons/sandbox/runtime/trunk/src/main/native/configure
Author: mturk
Date: Mon Apr 18 13:44:28 2011
New Revision: 1094570
URL: http://svn.apache.org/viewvc?rev=1094570&view=rev
Log:
Fix BSD version detection
Modified:
commons/sandbox/runtime/trunk/src/main/native/configure
Modified: commons/sandbox/runtime/trunk/src/main/native/configure
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/configure?rev=1094570&r1=1094569&r2=1094570&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/configure (original)
+++ commons/sandbox/runtime/trunk/src/main/native/configure Mon Apr 18 13:44:28 2011
@@ -461,7 +461,7 @@ case "$host" in
;;
*bsd )
platform=BSDX
- platformver="`uname -r | sed 's/\.//g'`"
+ platformver="`uname -r | sed 's/\.//g' | sed 's/-.*//'`"
mmake=`getgnutool gmake`
;;
linux )