summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-05-26 11:48:11 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-05-26 13:49:36 +0200
commit05ad620230f94422c99388b5a1ccebdf1d220bd3 (patch)
tree0aa1062194f8985af46e7b345384814d6d6f1547
parentAdd cantarell to the package mapping list (diff)
downloadgentoo-bumpchecker-05ad620230f94422c99388b5a1ccebdf1d220bd3.tar.gz
gentoo-bumpchecker-05ad620230f94422c99388b5a1ccebdf1d220bd3.tar.bz2
gentoo-bumpchecker-05ad620230f94422c99388b5a1ccebdf1d220bd3.zip
Add path properly.
-rwxr-xr-xgnome-bumpchecker.py2
-rwxr-xr-xx-modular-bumpchecker.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/gnome-bumpchecker.py b/gnome-bumpchecker.py
index 4ddb3d5..e7ceb16 100755
--- a/gnome-bumpchecker.py
+++ b/gnome-bumpchecker.py
@@ -5,7 +5,7 @@
import os, sys
-sys.path.append(os.path.sep.join([os.path.dirname(sys.argv[0]), 'modules']))
+sys.path.append(os.path.abspath(os.path.join(__file__, "..", "modules")))
version = "0.0.2"
diff --git a/x-modular-bumpchecker.py b/x-modular-bumpchecker.py
index 3c39510..c5cb3d9 100755
--- a/x-modular-bumpchecker.py
+++ b/x-modular-bumpchecker.py
@@ -7,7 +7,7 @@
import os, sys
-sys.path.append(os.path.sep.join([os.path.dirname(sys.argv[0]), 'modules']))
+sys.path.append(os.path.abspath(os.path.join(__file__, "..", "modules")))
version = "0.0.1"