summaryrefslogtreecommitdiffstats
path: root/scripts/libptxdist.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/libptxdist.sh')
-rw-r--r--scripts/libptxdist.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/libptxdist.sh b/scripts/libptxdist.sh
index 433d789ea..820a02298 100644
--- a/scripts/libptxdist.sh
+++ b/scripts/libptxdist.sh
@@ -438,13 +438,14 @@ ptxd_filter_dir() {
mkdir -p "${dstdir}" &&
- tar -C "${srcdir}" -c . \
+ tar -c -C "${srcdir}" \
--exclude .svn \
--exclude .pc \
--exclude .git \
--exclude "*.in" \
--exclude "*.in.*" \
--exclude "*/*~" \
+ . \
| tar -C "${dstdir}" -x
check_pipe_status || return