aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-08-28 10:39:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-08-28 10:39:36 +0000
commit8feb5110b536f0f63769474cb9cc7cba8777f792 (patch)
treec256263a1370cee0fd76769abcde8b372c588dc8 /lib
parent32899f8309211e2141937d24b754480a9df10951 (diff)
only do chmod if there's a file present
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@' >> $@