mirror of
https://github.com/apache/activemq.git
synced 2025-02-16 23:16:52 +00:00
Applied patch: https://issues.apache.org/activemq/browse/AMQ-1238
- Allows java service wrapper start script to work on Debian sarge git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@587507 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
82d1c91b3f
commit
0570c00e37
@ -161,8 +161,8 @@ case "$DIST_OS" in
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user