Kaydet (Commit) 1556bbad authored tarafından David Tardon's avatar David Tardon

guard against updating nonexistent file

Change-Id: I74cc4752ac4abfd83f9eafa01ae4eb1813bb2afa
üst ca124c4b
......@@ -319,6 +319,7 @@ endef
define gb_UnpackedTarbal__make_pattern_rule
$(call gb_UnpackedTarball_get_dir,$(1))/%$(2) :
$$(if $$(wildcard $$@),,$$(call gb_Output_error,file $$@ does not exist in the tarball))
touch $$@
$(eval gb_UnpackedTarball_PATTERN_RULES_$(1) += $(2))
......@@ -332,6 +333,7 @@ endef
define gb_UnpackedTarbal__make_file_rule
$(call gb_UnpackedTarball_get_dir,$(1))/$(2) :
$$(if $$(wildcard $$@),,$$(call gb_Output_error,file $$@ does not exist in the tarball))
touch $$@
endef
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment