浏览代码

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 年之前
父节点
当前提交
45b1a7e1b9
共有 1 个文件被更改,包括 2 次插入1 次删除
  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