mirror of
https://github.com/curl/curl.git
synced 2026-07-24 07:27:17 +03:00
only do chmod if there's a file present
This commit is contained in:
parent
32899f8309
commit
8feb5110b5
1 changed files with 3 additions and 1 deletions
|
|
@ -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@' >> $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue