activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r587507 - /activemq/trunk/assembly/src/release/bin/linux/activemq
Date Tue, 23 Oct 2007 13:52:21 GMT
Author: chirino
Date: Tue Oct 23 06:52:21 2007
New Revision: 587507

URL: http://svn.apache.org/viewvc?rev=587507&view=rev
Log:
Applied patch: https://issues.apache.org/activemq/browse/AMQ-1238
 - Allows java service wrapper start script to work on Debian sarge

Modified:
    activemq/trunk/assembly/src/release/bin/linux/activemq

Modified: activemq/trunk/assembly/src/release/bin/linux/activemq
URL: http://svn.apache.org/viewvc/activemq/trunk/assembly/src/release/bin/linux/activemq?rev=587507&r1=587506&r2=587507&view=diff
==============================================================================
--- activemq/trunk/assembly/src/release/bin/linux/activemq (original)
+++ activemq/trunk/assembly/src/release/bin/linux/activemq Tue Oct 23 06:52:21 2007
@@ -161,8 +161,8 @@
 esac
 
 # Resolve the architecture
-DIST_ARCH=`uname -p | tr [:upper:] [:lower:] | tr -d [:blank:]`
-if [ "$DIST_ARCH" = "unknown" ]
+DIST_ARCH=`uname -p 2>/dev/null | tr [:upper:] [:lower:] | tr -d [:blank:]`
+if [ "$DIST_ARCH" = "unknown" ] || [ "$DIST_ARCH" = "" ]
 then
     DIST_ARCH=`uname -m | tr [:upper:] [:lower:] | tr -d [:blank:]`
 fi



Mime
View raw message