mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
only do chmod if there's a file present
This commit is contained in:
parent
32899f8309
commit
8feb5110b5
@ -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…
Reference in New Issue
Block a user