aboutsummaryrefslogtreecommitdiffstats
path: root/trunk/infrastructure/ace/bin
diff options
context:
space:
mode:
authorEgil Moeller <egil.moller@freecode.no>2010-03-12 21:25:15 +0100
committerEgil Moeller <egil.moller@freecode.no>2010-03-12 21:25:15 +0100
commitfaae6d36cc92aae7c040146edb8471fa8e8c6a75 (patch)
tree40ce0e6a8c1959ba288a1a130243687b2ed98a45 /trunk/infrastructure/ace/bin
parent2d8d9afeb01df0772661348321974627d42c8850 (diff)
downloadetherpad-faae6d36cc92aae7c040146edb8471fa8e8c6a75.tar.gz
etherpad-faae6d36cc92aae7c040146edb8471fa8e8c6a75.tar.xz
etherpad-faae6d36cc92aae7c040146edb8471fa8e8c6a75.zip
Tags are now shown as links
Diffstat (limited to 'trunk/infrastructure/ace/bin')
-rwxr-xr-xtrunk/infrastructure/ace/bin/make8
1 files changed, 4 insertions, 4 deletions
diff --git a/trunk/infrastructure/ace/bin/make b/trunk/infrastructure/ace/bin/make
index dad11ff..0a39d91 100755
--- a/trunk/infrastructure/ace/bin/make
+++ b/trunk/infrastructure/ace/bin/make
@@ -263,15 +263,15 @@ def doMake {
def copyFileToEtherpad(fromName: String, toName: String) {
var code = getFile(srcDir+"/"+fromName);
- code = replaceFirstLine(code, "// DO NOT EDIT THIS FILE, edit "+
- "infrastructure/ace/www/"+fromName);
+ code = "// DO NOT EDIT THIS FILE, edit "+
+ "infrastructure/ace/www/"+fromName+"\n"+code;
code = code.replaceAll("""(?<=\n)\s*//\s*%APPJET%:\s*""", "");
putFile(code, "../../etherpad/src/etherpad/collab/ace/"+toName);
}
def copyFileToClientSide(fromName: String, toName: String) {
var code = getFile(srcDir+"/"+fromName);
- code = replaceFirstLine(code, "// DO NOT EDIT THIS FILE, edit "+
- "infrastructure/ace/www/"+fromName);
+ code = "// DO NOT EDIT THIS FILE, edit "+
+ "infrastructure/ace/www/"+fromName+"\n"+code;
code = code.replaceAll("""(?<=\n)\s*//\s*%APPJET%:.*?\n""", "");
code = code.replaceAll("""(?<=\n)\s*//\s*%CLIENT FILE ENDS HERE%[\s\S]*""",
"");