Skip to content

Commit

Permalink
Adds missing +x on scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
remram44 committed Sep 23, 2014
1 parent e6452be commit cf7afc4
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 8 deletions.
1 change: 1 addition & 0 deletions scripts/delete_from_db.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python
###############################################################################
##
## Copyright (C) 2011-2014, NYU-Poly.
Expand Down
1 change: 1 addition & 0 deletions scripts/diff_package.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python
###############################################################################
##
## Copyright (C) 2011-2014, NYU-Poly.
Expand Down
19 changes: 11 additions & 8 deletions scripts/extract.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python
###############################################################################
##
## Copyright (C) 2011-2014, NYU-Poly.
Expand Down Expand Up @@ -36,23 +37,25 @@
import imp
import sys

def copyDir(src, dst):

def copy_dir(src, dst):
for info in src.entryInfoList():
if info.isDir():
dst.mkdir(info.fileName())
src.cd(info.fileName())
dst.cd(info.fileName())
copyDir(src, dst)
copy_dir(src, dst)
src.cd('..')
dst.cd('..')
elif info.isFile():
QtCore.QFile.copy(info.filePath(), dst.filePath(info.fileName()))

if __name__=="__main__":
if len(sys.argv)!=2:


if __name__ == "__main__":
if len(sys.argv) != 2:
print "Usage: python extract.py resource_rc"
sys.exit(0)

moduleName = sys.argv[1]
imp.load_source('resModule', moduleName)
copyDir(QtCore.QDir(":"), QtCore.QDir("."))
module_name = sys.argv[1]
imp.load_source('resModule', module_name)
copy_dir(QtCore.QDir(":"), QtCore.QDir("."))
2 changes: 2 additions & 0 deletions scripts/generate_pkg_doc.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env python

import itertools
import sys

Expand Down
Empty file modified scripts/merge_vistrails.py
100644 → 100755
Empty file.
1 change: 1 addition & 0 deletions scripts/sql_delete.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python
###############################################################################
##
## Copyright (C) 2011-2014, NYU-Poly.
Expand Down
1 change: 1 addition & 0 deletions scripts/sql_to_xml.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python
###############################################################################
##
## Copyright (C) 2011-2014, NYU-Poly.
Expand Down
1 change: 1 addition & 0 deletions scripts/update_db.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env python
###############################################################################
##
## Copyright (C) 2011-2014, NYU-Poly.
Expand Down
Empty file modified scripts/watch_vistrail_servers.py
100644 → 100755
Empty file.

0 comments on commit cf7afc4

Please sign in to comment.