aboutsummaryrefslogtreecommitdiff
path: root/helper
diff options
context:
space:
mode:
authorSunil Kumar Kori <skori@marvell.com>2020-10-13 15:27:49 +0530
committerMatias Elo <matias.elo@nokia.com>2020-10-14 09:23:15 +0300
commit7c14cbbd7a42f5c34a841417403ab4bbba91e0b2 (patch)
treebf9da135dbd33005115e0a269e7365dc3a2f4de8 /helper
parent9a4244c786122d9bf56c0e5c497ddf2bc9e71576 (diff)
build: fix permission error during distcheck
During 'make distcheck' scripts are copied into distribution directory twice. In first iteration scripts are successfully copied into destination path with read/execute permission and in second iteration build system throws permission error because file already exist. Signed-off-by: Sunil Kumar Kori <skori@marvell.com> Reviewed-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'helper')
-rw-r--r--helper/test/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/helper/test/Makefile.am b/helper/test/Makefile.am
index 6e5229fbb..ef3e2e370 100644
--- a/helper/test/Makefile.am
+++ b/helper/test/Makefile.am
@@ -50,7 +50,7 @@ all-local:
for f in $(dist_check_SCRIPTS); do \
if [ -e $(srcdir)/$$f ]; then \
mkdir -p $(builddir)/$$(dirname $$f); \
- cp $(srcdir)/$$f $(builddir)/$$f; \
+ cp -f $(srcdir)/$$f $(builddir)/$$f; \
fi \
done \
fi