Am 23.09.2013 um 20:16 schrieb Reuti: > Am 23.09.2013 um 19:45 schrieb Alan McKay: > >> On Mon, Sep 23, 2013 at 1:41 PM, Alan McKay <[email protected]> wrote: >>> case $lxmachine in >>> amd64) >>> # libc_string=`strings /lib64/libc.so.6 | grep "GNU C Library"` >>> libc_string=`strings /lib/x86_64-linux-gnu/libc.so.6 | grep >>> "GNU C Library"` >>> ;; >> >> Nope it did not like that change ... > > Here we need another patch: Ubuntu outputs something containing the searched > string for the version twice and so the test for the version later on failed > due to a wrong syntax: > > libc_string=`strings /lib64/libc.so.6 | grep "GNU C Library" | uniq`
Ups, not `uniq` - the lines aren't identical. Better pipe to: head -n 1 > -- Reuti > > >> root@solexa1:/gridware/sge# ./inst_sge >> util/arch: 224: [: 17-0ubuntu5): unexpected operator >> util/arch: 228: [: 17-0ubuntu5): unexpected operator >> ./util/arch: 224: [: 17-0ubuntu5): unexpected operator >> ./util/arch: 228: [: 17-0ubuntu5): unexpected operator >> Usage: inst_sge -m|-um|-x|-ux [all]|-sm|-usm|-s|-db|-udb|-bup|-rst| >> -copycerts <host|hostlist>|-v|-upd|-upd-execd|-upd-rc|-upd-win| >> -post_upd|-start-all|-rccreate|[-host <hostname>] [-resport] [-rsh] >> [-auto <filename>] [-nr] [-winupdate] [-winsvc] [-uwinsvc] [-csp] >> [-jmx] [-add-jmx] [-oldijs] [-afs] [-noremote] [-nosmf] >> >> >> >> -- >> “Don't eat anything you've ever seen advertised on TV” >> - Michael Pollan, author of "In Defense of Food" >> >> _______________________________________________ >> users mailing list >> [email protected] >> https://gridengine.org/mailman/listinfo/users >> > > > _______________________________________________ > users mailing list > [email protected] > https://gridengine.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] https://gridengine.org/mailman/listinfo/users
