mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-01 05:43:46 +00:00
Fix srcdir copy race condition by explicitly doing a cmp between the srcfile and the target.
Fixing tinderbox bustage.
This commit is contained in:
parent
71c21a4e59
commit
a1cd8f96db
@ -56,7 +56,7 @@ done_gen: msgMapi.idl
|
||||
touch $@
|
||||
|
||||
$(addprefix $(srcdir)/,$(CSRCS)): %.c: done_gen
|
||||
cp $(@F) $@
|
||||
@if cmp -s $(@F) $@; then cp $(@F) $@; fi
|
||||
|
||||
export:: done_gen $(addprefix $(srcdir)/,$(CSRCS))
|
||||
|
||||
|
@ -69,7 +69,7 @@ done_gen: ISimpleDOMDocument.idl
|
||||
touch $@
|
||||
|
||||
$(addprefix $(srcdir)/,$(CSRCS)): %.c: done_gen
|
||||
cp $(@F) $@
|
||||
@if cmp -s $(@F) $@; then cp $(@F) $@; fi
|
||||
|
||||
export:: done_gen $(addprefix $(srcdir)/,$(CSRCS))
|
||||
|
||||
|
@ -69,7 +69,7 @@ done_gen: ISimpleDOMNode.idl
|
||||
touch $@
|
||||
|
||||
$(addprefix $(srcdir)/,$(CSRCS)): %.c: done_gen
|
||||
cp $(@F) $@
|
||||
@if cmp -s $(@F) $@; then cp $(@F) $@; fi
|
||||
|
||||
export:: done_gen $(addprefix $(srcdir)/,$(CSRCS))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user