Skip to content

Commit

Permalink
Prevent tar from adding exteneded attributes files on Mac (#62)
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Detwiler <[email protected]>
  • Loading branch information
detwiler authored Mar 7, 2019
1 parent cbaaba3 commit 5bf9f05
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions data/bash/common/profile.d/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,17 @@ info = info.sh
gnulib = gnulib.sh
go = go.sh
gpg = gpg.sh
macosx = macosx.sh

# static data/scripts (not generated; require explicit distribution)
static_data = $(bash_completion) \
$(bash) \
$(gpg)

if HOST_OS_DARWIN
static_data += $(macosx)
endif

dist_profile_DATA = $(static_data)

# data/scripts generated by configure (source file automatically distributed)
Expand Down
4 changes: 4 additions & 0 deletions data/bash/common/profile.d/macosx.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Mac OS X environment settings

# prevent tar from adding mac's extended attribute file to archives
export COPYFILE_DISABLE=true

0 comments on commit 5bf9f05

Please sign in to comment.