Ignore error code 1 to prevent build from fail as it mark "good" behaviour.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 13 Jul 2012 09:58:22 +0300
changeset 239 acd65d2fff84
parent 238 a244e0f5409a
child 240 e0d250644798
Ignore error code 1 to prevent build from fail as it mark "good" behaviour.
Makefile
--- a/Makefile	Fri Jul 13 00:12:49 2012 +0300
+++ b/Makefile	Fri Jul 13 09:58:22 2012 +0300
@@ -187,7 +187,7 @@
 
 .PHONY: deploy2sf-src
 deploy2sf-src:
-	hg push ssh://$(SF_USER)@hg.code.sf.net/p/$(pkgname)/code
+	hg push ssh://$(SF_USER)@hg.code.sf.net/p/$(pkgname)/code || [ $$? = 1 ]
 
 .PHONY: deploy-check
 deploy-check: