common/templates/source-spec.ant.xml.ftl
changeset 1044 0f6ffc604b5c
parent 1043 2c948b30191c
child 1173 7659931b2194
--- a/common/templates/source-spec.ant.xml.ftl	Mon May 24 18:06:58 2010 +0100
+++ b/common/templates/source-spec.ant.xml.ftl	Tue May 25 13:36:39 2010 +0100
@@ -23,7 +23,7 @@
     		<not><equals arg1="${ant['sf.spec.sources.revision']}" arg2="" trim="true"/></not>
     		<then>
     			<property name="sources.${count}.revision" value="${ant['sf.spec.sources.revision']}"/>
-    			<propertyregex property="sources.${count}.URL" input="${pkg_detail.source}" regexp="/MCL/" casesensitive="false" replace="/FCL/"/>
+    			<propertyregex property="sources.${count}.URL" input="${pkg_detail.source}" regexp="/MCL/" casesensitive="false" replace="/FCL/" defaultValue="${pkg_detail.source}"/>
     		</then>
     		<else>
     			<property name="sources.${count}.revision" value="${pkg_detail.pattern}"/>