Skip to content

Commit

Permalink
Fixing minify scripts
Browse files Browse the repository at this point in the history
Fixing the shebang. Also updating the chdir. Also chmod +x.
  • Loading branch information
denilsonsa committed Jul 21, 2017
1 parent fbe77e1 commit 4b1aa3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tools/minify2.py 100644 → 100755
@@ -1,4 +1,4 @@
#!/usr/bin/python2.6
#!/usr/bin/python2

# Minify tableExport.jquery.plugin file(s)
# using Simon Georget's python script to minify javascript files
Expand Down Expand Up @@ -26,7 +26,7 @@ def disable(self):

fmRootFolder = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) + "/"

os.chdir(fmRootFolder + "scripts/") # set working directory
os.chdir(fmRootFolder) # set working directory

toMinify = ["tableExport.js"]

Expand Down
4 changes: 2 additions & 2 deletions tools/minify3.py
@@ -1,4 +1,4 @@
#!/usr/bin/python2.6
#!/usr/bin/env python3

# Minify tableExport.jquery.plugin file(s)
# using Simon Georget's python script to minify javascript files
Expand Down Expand Up @@ -26,7 +26,7 @@ def disable(self):

fmRootFolder = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) + "/"

os.chdir(fmRootFolder + "./") # set working directory
os.chdir(fmRootFolder) # set working directory

toMinify = ["tableExport.js"]

Expand Down

0 comments on commit 4b1aa3f

Please sign in to comment.