Browse Source

Merge pull request #576 from osterik/bugfix/remove-mac-extended-attribute

tell tar to not include the metadata into release
Mészáros Mihály 5 years ago
parent
commit
45b1a7e1b9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      examples/scripts/pack.sh

+ 2 - 1
examples/scripts/pack.sh

@@ -16,7 +16,8 @@ mkdir tmp
 cd tmp
 mkdir ${DDIR}
 cp -R ${SRCDIR}/* ${DDIR}/
-tar cvfz ../${DDIR}.tar.gz ${DDIR}
+#tell tar to not include the metadata
+COPYFILE_DISABLE=1 tar cvfz ../${DDIR}.tar.gz ${DDIR}
 cd ..
 rm -rf tmp