We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 827c4ee commit 2e3da10Copy full SHA for 2e3da10
source/lsbappchk.py
@@ -8,7 +8,7 @@
8
import os
9
import string
10
# modulefinder does all the heavy lifting
11
-sys.path.append('/opt/lsb/share/appchk')
+sys.path.append(sys.path[0] + '/../share/appchk')
12
import lsb_modulefinder
13
import tetj
14
version = '0.3'
@@ -135,7 +135,7 @@ def main(argv):
135
# drop our path to the tet module and preserve a pristine sys.path
136
syspath_org = sys.path[:-1]
137
138
- sharepath = '/opt/lsb/share/appchk'
+ sharepath = sys.path[0] + '/../share/appchk'
139
140
# where the target program names begin?
141
# Let's consider all arguments after options as program names
0 commit comments