[xiph-commits] r3409 - in liboggplay/trunk: Installer plugin/mac

j at svn.annodex.net j at svn.annodex.net
Sun Feb 3 06:49:55 PST 2008


Author: j
Date: 2008-02-03 06:49:52 -0800 (Sun, 03 Feb 2008)
New Revision: 3409

Modified:
   liboggplay/trunk/Installer/MakeMacPluginXPI.sh
   liboggplay/trunk/plugin/mac/mac-annodex-dev-install.sh
Log:
detect intel

Modified: liboggplay/trunk/Installer/MakeMacPluginXPI.sh
===================================================================
--- liboggplay/trunk/Installer/MakeMacPluginXPI.sh	2008-02-03 14:46:52 UTC (rev 3408)
+++ liboggplay/trunk/Installer/MakeMacPluginXPI.sh	2008-02-03 14:49:52 UTC (rev 3409)
@@ -4,6 +4,9 @@
 BUNDLE=../plugin/mac/build/Deployment/liboggplay.plugin
 
 CPU=$(system_profiler SPHardwareDataType | awk '/CPU Type/{print $3}')
+if [ "x$CPU" = "x" ]; then
+  CPU=$(system_profiler SPHardwareDataType | awk '/Processor Name/{print $3}')
+fi
 XPINAME=Oggplay-MacOSX-$CPU.xpi
 
 if [ ! -e $XPTFILE ]; then

Modified: liboggplay/trunk/plugin/mac/mac-annodex-dev-install.sh
===================================================================
--- liboggplay/trunk/plugin/mac/mac-annodex-dev-install.sh	2008-02-03 14:46:52 UTC (rev 3408)
+++ liboggplay/trunk/plugin/mac/mac-annodex-dev-install.sh	2008-02-03 14:49:52 UTC (rev 3409)
@@ -91,6 +91,9 @@
 if [ ! -e /Developer/gecko-sdk ]; then
   echo -e "\n---- Installing gecko-sdk ----"
   CPU=$(system_profiler SPHardwareDataType | awk '/CPU Type/{print $3}')
+  if [ "x$CPU" = "x" ]; then
+   CPU=$(system_profiler SPHardwareDataType | awk '/Processor Name/{print $3}')
+  fi
   if [ "$CPU" = "PowerPC" ]; then
     echo "Downloading gecko-sdk for PowerPC Mac"
     GSPATH=http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.8.0.4/sdk



More information about the commits mailing list