aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index c283769ec..691d7b741 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -91,7 +91,9 @@ $(srcdir)/getdate.c: getdate.y
mv -f y.tab.c getdate.c
$(srcdir)/ca-bundle.h: Makefile.in Makefile
- chmod 0644 $@
+ @if test -f $@; then \
+ chmod 0644 $@; \
+ fi
echo "/* The file is generated automaticly */" > $@
if CABUNDLE
echo '#define CURL_CA_BUNDLE @CURL_CA_BUNDLE@' >> $@