Permalink
Browse files

OS X inserts ._ files automatically when you tar! Impressive, but stu…

…pid.

git-svn-id: svn+ssh://svn.last.fm/svn/clientside/trunk/desktop@123146 ab8f4a45-97f9-0310-bbd1-854ce3dcee89
  • Loading branch information...
mxcl committed Mar 4, 2009
1 parent 4ac7844 commit fc5af7f3f972493c4a9e496e1840e7d8f366a019
Showing with 6 additions and 2 deletions.
  1. +6 −2 admin/dist/src_tarball.sh
@@ -1,6 +1,10 @@
#!/bin/bash
-d=Boffin-$1
+# OSX copies special file attributes to ._files when you tar!
+export COPY_EXTENDED_ATTRIBUTES_DISABLE=true
+export COPYFILE_DISABLE=true
+
+d=boffin-$1
mkdir -p $d/app/client
cp -R common admin lib $d
@@ -53,5 +57,5 @@ Please, I'm not a support dude! I'd appreciate it if you don't email me until
you're sure it's our fault it isn't compiling! Thanks. <max@last.fm>
END
-tar cjf $d.tar.bz2 $d
+tar pcjf $d.tar.bz2 $d
rm -rf $d

0 comments on commit fc5af7f

Please sign in to comment.