Or we just use the solution Youness gave us :P


Jérôme

Courriel:  [EMAIL PROTECTED]

MSN Messenger:  [EMAIL PROTECTED]

iChat & AIM:  [EMAIL PROTECTED]

Skype: germinator5000



Le 4 août 2006 à 17:12, Tom Hennigan a écrit :

Hmm okay what about this then.. We run file on utils/macosx/TkCxImage/TkCxImage.dylib (we actually run file -b which makes the output shorter) and then line count the output (piping the output to [wc -l] takes care of that). If the line count is 1 then it's the PPC version, because the file only has one filetype. (The output of file puts each different filetype on a new line.) Sorry if thats all complex! You basically run:
file -b utils/macosx/TkCximage/TkCximage.dylib | wc -l | awk '{print $1}'
That will output 1 if aMSN is PPC or 2 if aMSN is Universal.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to