summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgnome-bumpchecker.py4
-rwxr-xr-xx-modular-bumpchecker.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/gnome-bumpchecker.py b/gnome-bumpchecker.py
index 7c2e5b8..66fa102 100755
--- a/gnome-bumpchecker.py
+++ b/gnome-bumpchecker.py
@@ -5,9 +5,9 @@
import os,sys
-exename=os.path.basename(sys.argv[0])
+sys.path.append(os.path.sep.join([os.path.dirname(sys.argv[0]), 'modules']))
+
version = "0.0.2"
-sys.path = ["modules"]+sys.path
if __name__ == '__main__':
import clioptions_module
diff --git a/x-modular-bumpchecker.py b/x-modular-bumpchecker.py
index 68286f5..ab8cd86 100755
--- a/x-modular-bumpchecker.py
+++ b/x-modular-bumpchecker.py
@@ -7,9 +7,9 @@
import os,sys
-exename=os.path.basename(sys.argv[0])
+sys.path.append(os.path.sep.join([os.path.dirname(sys.argv[0]), 'modules']))
+
version = "0.0.1"
-sys.path = ["modules"]+sys.path
if __name__ == '__main__':