projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a701f3
)
[offsets-tool] Only create the .stamp-clone file if the clone succeeds.
author
Rolf Bjarne Kvinge
<rolf@xamarin.com>
Tue, 10 May 2016 17:43:13 +0000
(19:43 +0200)
committer
Rolf Bjarne Kvinge
<rolf@xamarin.com>
Tue, 10 May 2016 17:56:48 +0000
(19:56 +0200)
This makes rebuilds work if the clone was cancelled.
tools/offsets-tool/Makefile
patch
|
blob
|
history
diff --git
a/tools/offsets-tool/Makefile
b/tools/offsets-tool/Makefile
index 64863625da2110e86aec1c37874467bde5810715..d4e07fd8965d5796ac61c0cf557c18c12a2e1d11 100644
(file)
--- a/
tools/offsets-tool/Makefile
+++ b/
tools/offsets-tool/Makefile
@@
-11,8
+11,7
@@
MONO_OPTIONS_SRC = $(SRC_ROOT)/mcs/class/Mono.Options/Mono.Options/Options.cs
.stamp-clone:
@if [ ! -d $(CPPSHARP_DIR) ]; then \
- git clone git@github.com:xamarin/CppSharpBinaries.git $(CPPSHARP_DIR); \
- touch $@; \
+ git clone git@github.com:xamarin/CppSharpBinaries.git $(CPPSHARP_DIR) && touch $@; \
fi
MonoAotOffsetsDumper.exe: .stamp-clone MonoAotOffsetsDumper.cs $(MONO_OPTIONS_SRC)