# HG changeset patch
# User mabshoff@bsd.local
# Date 1211967561 25200
# Node ID 5de537bf088c31c8177b4d891d094f183badbb0b
# Parent  bc5e861092b67cfdb834901f5077a8b601ad6591
Fix another dumb buglet: copy modified header *before* exiting spkg-install

diff -r bc5e861092b6 -r 5de537bf088c spkg-install
--- a/spkg-install	Wed May 28 02:26:52 2008 -0700
+++ b/spkg-install	Wed May 28 02:39:21 2008 -0700
@@ -102,6 +102,16 @@ rm -rf python/python2.5 python/python py
 rm -rf python/python2.5 python/python python python2.4
 ln -s python2.5 python
 
+if [ `uname` = "Darwin" -a "$SAGE64" = "yes" ]; then
+    echo "Copying 64 bit OSX specific pymactoolbox.h"
+    cd $CUR
+    cp patches/pymactoolbox.h $SAGE_LOCAL/include/python2.5/
+    if [ $? -ne 0 ]; then
+        echo "Error copying patched pymactoolbox.h"
+        exit 1
+    fi
+fi
+
 # Make sure sufficient crypto support is available in the built python.  This is critical.
 python -c "import md5"
 
@@ -113,14 +123,3 @@ else
     exit 1
 fi
 
-
-if [ `uname` = "Darwin" -a "$SAGE64" = "yes" ]; then
-    echo "Copying 64 bit OSX specific pymactoolbox.h"
-    cd $CUR
-    cp patches/pymactoolbox.h $SAGE_LOCAL/include/python2.5/
-    if [ $? -ne 0 ]; then
-        echo "Error copying patched pymactoolbox.h"
-        exit 1
-    fi
-fi
-
