From: adilger Date: Tue, 21 Oct 2003 10:01:55 +0000 (+0000) Subject: Add a PATH to lfind, lstripe scripts in case lfs isn't in current PATH. X-Git-Tag: v1_7_0_51~2^7~369 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=faa88e86887a9e99fa7fab4a0605cdadf8369994;p=fs%2Flustre-release.git Add a PATH to lfind, lstripe scripts in case lfs isn't in current PATH. b=1944 --- diff --git a/lustre/utils/lfind b/lustre/utils/lfind index 77a4764..ae62017 100755 --- a/lustre/utils/lfind +++ b/lustre/utils/lfind @@ -1,2 +1,3 @@ #!/bin/bash -lfs find $@ +PATH=`dirname $0`:$PATH +lfs find "$@" diff --git a/lustre/utils/lstripe b/lustre/utils/lstripe index a4e2f28..51ebd79 100755 --- a/lustre/utils/lstripe +++ b/lustre/utils/lstripe @@ -1,2 +1,3 @@ #!/bin/bash -lfs setstripe $@ +PATH=`dirname $0`:$PATH +lfs setstripe "$@"