[svn-commits] dlee: testsuite/asterisk/trunk r3561 - /asterisk/trunk/addons/Makefile

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Dec 11 14:04:32 CST 2012


Author: dlee
Date: Tue Dec 11 14:04:28 2012
New Revision: 3561

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3561
Log:
Update URL for StarPy.

Also added logic to update the URL for the StarPy repo if it had already
been cloned.

Modified:
    asterisk/trunk/addons/Makefile

Modified: asterisk/trunk/addons/Makefile
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/addons/Makefile?view=diff&rev=3561&r1=3560&r2=3561
==============================================================================
--- asterisk/trunk/addons/Makefile (original)
+++ asterisk/trunk/addons/Makefile Tue Dec 11 14:04:28 2012
@@ -31,7 +31,10 @@
 update:
 	@if [ -d starpy ]; then \
 		cd starpy; \
+		if [ `git config --get remote.origin.url` = git://github.com/asterisk-org/starpy.git ]; then \
+			git remote set-url origin git://github.com/asterisk/starpy.git git://github.com/asterisk-org/starpy.git; \
+		fi; \
 		git pull; \
 	else \
-		git clone git://github.com/asterisk-org/starpy.git; \
+		git clone git://github.com/asterisk/starpy.git; \
 	fi




More information about the svn-commits mailing list