Commit 8feb5110 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

only do chmod if there's a file present

parent 32899f83
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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@' >> $@