Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonah Graham2021-05-18 00:42:47 +0000
committerJonah Graham2021-05-18 00:42:47 +0000
commit3f5438aad89263a99589a8f8541206a7c0c98b8f (patch)
tree076d0ad2b161c222f3bf9c285b5d6a886682c7a2 /core/org.eclipse.cdt.core.native
parentf07ba87a126246d2a5aeee5af2d237b72a1664f1 (diff)
downloadorg.eclipse.cdt-3f5438aad89263a99589a8f8541206a7c0c98b8f.tar.gz
org.eclipse.cdt-3f5438aad89263a99589a8f8541206a7c0c98b8f.tar.xz
org.eclipse.cdt-3f5438aad89263a99589a8f8541206a7c0c98b8f.zip
Bug 572878: Fail build if curl fails by having curl return error code
Diffstat (limited to 'core/org.eclipse.cdt.core.native')
-rw-r--r--core/org.eclipse.cdt.core.native/native_src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.core.native/native_src/Makefile b/core/org.eclipse.cdt.core.native/native_src/Makefile
index 8ba1b06f230..c6b99559582 100644
--- a/core/org.eclipse.cdt.core.native/native_src/Makefile
+++ b/core/org.eclipse.cdt.core.native/native_src/Makefile
@@ -75,8 +75,8 @@ WIN_TO_SIGN=$(OS_DIR_WIN32_X86_64)/starter.exe \
$(OS_DIR_WIN32_X86_64)/pty.dll
production: $(MAC_TO_SIGN) $(WIN_TO_SIGN)
$(foreach tosign,$(MAC_TO_SIGN) $(WIN_TO_SIGN),mv $(tosign) $(tosign)-unsigned &&) true
- $(foreach tosign,$(MAC_TO_SIGN),curl -o $(tosign) -F file=@$(tosign)-unsigned https://cbi.eclipse.org/macos/codesign/sign &&) true
- $(foreach tosign,$(WIN_TO_SIGN),curl -o $(tosign) -F file=@$(tosign)-unsigned https://cbi.eclipse.org/authenticode/sign &&) true
+ $(foreach tosign,$(MAC_TO_SIGN),curl -f --silent --show-error -o $(tosign) -F file=@$(tosign)-unsigned https://cbi.eclipse.org/macos/codesign/sign &&) true
+ $(foreach tosign,$(WIN_TO_SIGN),curl -f --silent --show-error -o $(tosign) -F file=@$(tosign)-unsigned https://cbi.eclipse.org/authenticode/sign &&) true
$(foreach tosign,$(MAC_TO_SIGN) $(WIN_TO_SIGN),rm $(tosign)-unsigned &&) true

Back to the top