[ 
https://jira.codehaus.org/browse/MRM-887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=343963#comment-343963
 ] 

Eric Barboni commented on MRM-887:
----------------------------------

archiva script contains the followings:
{code:title=archiva|borderStyle=solid}
# Resolve the architecture
DIST_ARCH=`uname -p | tr [:upper:] [:lower:] | tr -d [:blank:]`
if [ "$DIST_ARCH" = "unknown" ]
then
    DIST_ARCH=`uname -m | tr [:upper:] [:lower:] | tr -d [:blank:]`
fi
{code}

I thinks this allow DIST_ARCH to be set acording to uname -m if first is unkown.

> Start script has no valid "uname" option 
> -----------------------------------------
>
>                 Key: MRM-887
>                 URL: https://jira.codehaus.org/browse/MRM-887
>             Project: Archiva
>          Issue Type: Bug
>          Components: system
>    Affects Versions: 1.1
>         Environment: Debian GNU/Linux sarge (2.6.16.29.xs3.1.0.289.2650) 
>            Reporter: Antonio Manuel Muñiz Martín
>             Fix For: 2.0.2
>
>
> Start script has no valid "uname" option "-p". The concrete line is:
> DIST_ARCH=`uname -p | tr [:upper:] [:lower:] | tr -d [:blank:]`
> I resolved this issue replacing the option "-p" with "-m".



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to