summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSérgio Almeida <mephx.x@gmail.com>2009-08-17 16:45:58 +0100
committerSérgio Almeida <mephx.x@gmail.com>2009-08-17 16:45:58 +0100
commit0bc662a176b7044fd6faba7fabb68f7abe9a2049 (patch)
tree9b5039006db998c53efdb4fab53efd26f5ee5f48 /uselect.py
parentAdded support for targetless links aka *.d/ alike links (diff)
downloaduselect-0bc662a176b7044fd6faba7fabb68f7abe9a2049.tar.gz
uselect-0bc662a176b7044fd6faba7fabb68f7abe9a2049.tar.bz2
uselect-0bc662a176b7044fd6faba7fabb68f7abe9a2049.zip
Added -global when root. Fixed broken global lynking
Diffstat (limited to 'uselect.py')
-rwxr-xr-xuselect.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/uselect.py b/uselect.py
index e81b470..d8c76d9 100755
--- a/uselect.py
+++ b/uselect.py
@@ -43,8 +43,7 @@ class UniversalSelectTool:
__import__(modpath)
module = eval(modpath + '.module')
self.modules.append(module)
-
-
+
def get_module(self, name):
import modules
modname = name
@@ -64,6 +63,9 @@ class UniversalSelectTool:
verbose = True
printsystem.verbose()
args = args[1:]
+ elif arg == '-global':
+ filesystem.set_global = True
+ args = args[1:]
elif arg == '-nc':
printsystem.use_colors(False)
args = args[1:]