338481 - use :local: to rewrite maps during production build
diff --git a/releng.wtpbuilder/scripts/build/maptasks.xml b/releng.wtpbuilder/scripts/build/maptasks.xml
index 72542d8..0915d63 100644
--- a/releng.wtpbuilder/scripts/build/maptasks.xml
+++ b/releng.wtpbuilder/scripts/build/maptasks.xml
@@ -332,6 +332,12 @@
             value="${unrewriteMapsLineEscaped}">
             <include name="sourceReferences.properties"/>
         </replace>
+       <replace
+           dir="${buildDirectory}"
+           token="${rewriteMapsLine}"
+           value="${unrewriteMapsLine}">
+           <include name="directory.txt"/>
+       </replace>    	
     </target>
 
     <target