Skip to content
Snippets Groups Projects
Commit 8feb5110 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

only do chmod if there's a file present

parent 32899f83
No related branches found
No related tags found
No related merge requests found
......@@ -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@' >> $@
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment