Ticket #2522: trac_2522.patch

File trac_2522.patch, 1023 bytes (added by was, 11 years ago)
  • sage-pkg

    # HG changeset patch
    # User William Stein <wstein@gmail.com>
    # Date 1234758374 28800
    # Node ID 2f5a092d9cbf981a0c56cdd25b7ced0b1d16cdbb
    # Parent  8921cc06f9055455b20898f0e8d34d3c00e22068
    trac #2522 -- modify "sage -pkg" to not include OSX junk in spkgs
    
    diff -r 8921cc06f905 -r 2f5a092d9cbf sage-pkg
    a b  
    1111    exit 1
    1212fi
    1313
     14if [ `uname` == "Darwin" ]; then
     15   # workaround OS X issue -- see trac #2522
     16   COPYFILE_DISABLE=true
     17   export COPYFILE_DISABLE
     18fi
     19
    1420DIR=`basename $1`
    1521tar -cf - $DIR | bzip2 > $DIR.spkg
    1622
  • sage-pkg-nocompress

    diff -r 8921cc06f905 -r 2f5a092d9cbf sage-pkg-nocompress
    a b  
    1111    exit 1
    1212fi
    1313
     14if [ `uname` == "Darwin" ]; then
     15   # workaround OS X issue -- see trac #2522
     16   COPYFILE_DISABLE=true
     17   export COPYFILE_DISABLE
     18fi
     19
     20
    1421DIR=`basename $1`
    1522tar -cf $DIR.spkg $DIR
    1623