diff options
author | David Tardon <dtardon@redhat.com> | 2012-09-22 16:14:52 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-09-22 16:23:18 +0200 |
commit | 1556bbad31727aacb7d76300e1511be24a109627 (patch) | |
tree | 93f873a5964130a855f7db34ca939079a95e766d /solenv/gbuild | |
parent | ca124c4b049df9d47a4c72a677e949fcb39d36fd (diff) |
guard against updating nonexistent file
Change-Id: I74cc4752ac4abfd83f9eafa01ae4eb1813bb2afa
Diffstat (limited to 'solenv/gbuild')
-rw-r--r-- | solenv/gbuild/UnpackedTarball.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/gbuild/UnpackedTarball.mk b/solenv/gbuild/UnpackedTarball.mk index 8dcf05543ad9..63f32a6d5f8d 100644 --- a/solenv/gbuild/UnpackedTarball.mk +++ b/solenv/gbuild/UnpackedTarball.mk @@ -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 |