summaryrefslogtreecommitdiff
path: root/scripts
authorAntonio Lima <anto87@gmail.com>2011-10-05 08:24:32 (UTC)
committer Antonio Lima <anto87@gmail.com>2011-10-05 08:24:32 (UTC)
commit2a98e81b954ab84efc8d3f4e1d837bf190f77d7d (patch) (side-by-side diff)
tree8aa49a97a01d40737fbd8fa5c1f519f7a26d607b /scripts
parent3065be1b71e4c40428cfa192de560c970ba7f8b3 (diff)
downloadclipperz-2a98e81b954ab84efc8d3f4e1d837bf190f77d7d.zip
clipperz-2a98e81b954ab84efc8d3f4e1d837bf190f77d7d.tar.gz
clipperz-2a98e81b954ab84efc8d3f4e1d837bf190f77d7d.tar.bz2
Fixing python path of builder scripts for environment support
Diffstat (limited to 'scripts') (more/less context) (show whitespace changes)
-rw-r--r--scripts/builder/backendBuilder.py2
-rw-r--r--scripts/builder/frontendBuilder.py2
-rwxr-xr-xscripts/builder/main.py2
-rw-r--r--scripts/builder/phpBuilder.py2
-rw-r--r--scripts/builder/pythonBuilder.py2
5 files changed, 5 insertions, 5 deletions
diff --git a/scripts/builder/backendBuilder.py b/scripts/builder/backendBuilder.py
index f5dc7b2..16dbe2f 100644
--- a/scripts/builder/backendBuilder.py
+++ b/scripts/builder/backendBuilder.py
@@ -1,13 +1,13 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import sys, os, json
import shutil
import main
import hashlib
class BackendBuilder:
def __init__ (self, projectTargetDir, frontends, versions, settings):
self.projectTargetDir = projectTargetDir
self.frontends = frontends
diff --git a/scripts/builder/frontendBuilder.py b/scripts/builder/frontendBuilder.py
index b796438..55054ee 100644
--- a/scripts/builder/frontendBuilder.py
+++ b/scripts/builder/frontendBuilder.py
@@ -1,13 +1,13 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import sys, os, re
import cssmin
import jsmin
import codecs
import shutil
import StringIO
import urllib
#from mercurial import ui, hg
#from mercurial.node import hex
diff --git a/scripts/builder/main.py b/scripts/builder/main.py
index ba0c72a..94f738f 100755
--- a/scripts/builder/main.py
+++ b/scripts/builder/main.py
@@ -1,13 +1,13 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import sys, os, json
import shutil
import pprint
import frontendBuilder
import codecs
import itertools
from collections import deque
from phpBuilder import PhpBuilder
from pythonBuilder import PythonBuilder
diff --git a/scripts/builder/phpBuilder.py b/scripts/builder/phpBuilder.py
index 9512192..cb4661d 100644
--- a/scripts/builder/phpBuilder.py
+++ b/scripts/builder/phpBuilder.py
@@ -1,13 +1,13 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: UTF-8 -*-
from backendBuilder import BackendBuilder
class PhpBuilder(BackendBuilder):
def name(self):
return "PHP builder"
def relativePath(self):
return 'php'
diff --git a/scripts/builder/pythonBuilder.py b/scripts/builder/pythonBuilder.py
index 44c62a8..a84598d 100644
--- a/scripts/builder/pythonBuilder.py
+++ b/scripts/builder/pythonBuilder.py
@@ -1,13 +1,13 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# -*- coding: UTF-8 -*-
from backendBuilder import BackendBuilder
class PythonBuilder(BackendBuilder):
def name(self):
return "Python builder"
def relativePath(self):
return 'python'