ship/mkdist.sh
branchHEAD
changeset 44 ca95b928d283
parent 39 b66c0b4e8555
child 48 8ba060e1bb41
     1.1 --- a/ship/mkdist.sh	Sat Jun 06 22:52:05 2009 +0200
     1.2 +++ b/ship/mkdist.sh	Sat Nov 07 12:57:44 2009 +0100
     1.3 @@ -91,6 +91,17 @@
     1.4  find . -type f -name '.*' -exec rm \{\} \;
     1.5  #find . -name CVS -exec rm -r \{\} \; 2>/dev/null
     1.6  
     1.7 +# if on a Mac, check that we don't have any of those pesky xattributes set
     1.8 +xattr=`which xattr`
     1.9 +if [ -n "$xattr" ]; then
    1.10 +  xa=`xattr -r .`
    1.11 +  if [ -n "$xa" ]; then
    1.12 +    echo "xattr found:"
    1.13 +    echo $xa
    1.14 +    exit
    1.15 +  fi
    1.16 +fi
    1.17 +
    1.18  find . -type f -exec chmod a-x \{\} \;
    1.19  chmod a+x emailgeeklogstories
    1.20