Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0eab110
)
In Python 1.5 the string type does not have a find() method, so string.find
author
morrone
<morrone>
Wed, 11 Dec 2002 19:22:04 +0000
(19:22 +0000)
committer
morrone
<morrone>
Wed, 11 Dec 2002 19:22:04 +0000
(19:22 +0000)
is probably preferable. In this case, a find isn't needed at all.
lustre/utils/lconf.in
patch
|
blob
|
history
diff --git
a/lustre/utils/lconf.in
b/lustre/utils/lconf.in
index
3456d6f
..
c87e18e
100755
(executable)
--- a/
lustre/utils/lconf.in
+++ b/
lustre/utils/lconf.in
@@
-1668,7
+1668,7
@@
def setupModulePath(cmd):
base = os.path.dirname(cmd)
if os.access(base+"/Makefile", os.R_OK):
config.src_dir(base + "/../")
- if
not PORTALS_DIR.find('/') == 0
:
+ if
PORTALS_DIR[0] != '/'
:
PORTALS_DIR= config.src_dir()+PORTALS_DIR
def sys_set_debug_path():