|
From: Leif M. <le...@ta...> - 2008-07-30 07:14:38
|
What happens if you execute each of the following on your system? 1) uname -a 2) uname -p Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz 3) uname -m 4) uname -i 5) uname -o The script as is tries `uname -p`. If it is not unknown then it tries `uname -m`. If your `uname -m` returns a useful value then I may need to skip `uname -p` values containing spaces. Cheers, Leif On Tue, Jul 29, 2008 at 11:16 PM, papinade <pap...@gm...> wrote: > > Hi, > > I have a issue with the var DIST_ARCH returning a value untreated in the > script.sh > > OS : Linux Mandriva 2008 i586 > > DIST_ARCH=`uname -p 2>/dev/null | tr [:upper:] [:lower:] | tr -d [:blank:]` > returns : Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz > > This value does not match with no one 'if' or 'case' in the script. So, i > have the following error : > Unable to locate any of the following binaries: > /toto/bin/./wrapper-linux-intel(r)core(tm)2duocpue6750@2.66ghz-32 > /toto/bin/./wrapper-linux-intel(r)core(tm)2duocpue6750@2.66ghz-64 > /toto/bin/./wrapper > > I tested with Ubuntu 8.04 and i have not this issue. > > Is a patch planned for this ? > -- > View this message in context: http://www.nabble.com/Wrong-DIST_ARCH-value-on-Mandriva-2008-tp18713173p18713173.html > Sent from the Java Service Wrapper mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > |