summaryrefslogtreecommitdiff
path: root/scripts
authorMichael Krelin <hacker@klever.net>2013-11-26 20:16:08 (UTC)
committer Michael Krelin <hacker@klever.net>2013-11-26 20:16:08 (UTC)
commit7759f50a024a3e450237c308562ae745c808d2e1 (patch) (side-by-side diff)
treec3ac074e224cb0632a858f9c24c43e6c1ccdd631 /scripts
parentfab898af773b3bbf28ed6c67c89b032d740d19f1 (diff)
downloadclipperz-7759f50a024a3e450237c308562ae745c808d2e1.zip
clipperz-7759f50a024a3e450237c308562ae745c808d2e1.tar.gz
clipperz-7759f50a024a3e450237c308562ae745c808d2e1.tar.bz2
builder: moved temp folder adjustements where it belongs
it wasn't meant to be in the script language builder, but only should've affected node backend
Diffstat (limited to 'scripts') (more/less context) (ignore whitespace changes)
-rwxr-xr-xscripts/builder/backends/nodeBuilder.py6
-rw-r--r--scripts/builder/backends/scriptLanguageBuilder.py3
2 files changed, 5 insertions, 4 deletions
diff --git a/scripts/builder/backends/nodeBuilder.py b/scripts/builder/backends/nodeBuilder.py
index bb63204..783746e 100755
--- a/scripts/builder/backends/nodeBuilder.py
+++ b/scripts/builder/backends/nodeBuilder.py
@@ -3,2 +3,3 @@
+import os
from scriptLanguageBuilder import ScriptLanguageBuilder
@@ -10,4 +11,7 @@ class NodeBuilder(ScriptLanguageBuilder):
-
def relativePath(self):
return 'node'
+
+ def frontEndTempFolder (self):
+ return os.path.join(self.tempFolder(),'htdocs')
+
diff --git a/scripts/builder/backends/scriptLanguageBuilder.py b/scripts/builder/backends/scriptLanguageBuilder.py
index f2d32ba..fb8e609 100644
--- a/scripts/builder/backends/scriptLanguageBuilder.py
+++ b/scripts/builder/backends/scriptLanguageBuilder.py
@@ -9,5 +9,2 @@ class ScriptLanguageBuilder(BackendBuilder):
- def frontEndTempFolder (self):
- return os.path.join(self.tempFolder(),'htdocs')
-
def compileCode (self):