diff --git a/data/bash/common/profile.d/Makefile.am b/data/bash/common/profile.d/Makefile.am index 26e22e8..c5e0f67 100644 --- a/data/bash/common/profile.d/Makefile.am +++ b/data/bash/common/profile.d/Makefile.am @@ -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) diff --git a/data/bash/common/profile.d/macosx.sh b/data/bash/common/profile.d/macosx.sh new file mode 100644 index 0000000..a2924bb --- /dev/null +++ b/data/bash/common/profile.d/macosx.sh @@ -0,0 +1,4 @@ +# Mac OS X environment settings + +# prevent tar from adding mac's extended attribute file to archives +export COPYFILE_DISABLE=true