> Does it need any more than something like this added in the sage shell script? > > if `uname` = "Darwin"; then > cpu=some_code_to_check_cpu() > if [ cpu = unsuitable ] && [ built_on = "G5"] ; then > echo "Sorry, this Sage binary was created on a MacPP5 can't be run on a > Mac > with an older CPU like yours" > exit 1 > fi > fi
Yeah --- I'm sure that "some_code_to_check_cpu()" is more or less a one-liner on Mac OS X, but I never took the time to try to find out ... Cheers, Georg --~--~---------~--~----~------------~-------~--~----~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---