1 |
Author: grobian |
2 |
Date: 2010-02-22 19:59:39 +0000 (Mon, 22 Feb 2010) |
3 |
New Revision: 15436 |
4 |
|
5 |
Modified: |
6 |
main/branches/prefix/bin/misc-functions.sh |
7 |
Log: |
8 |
add missing leading slash to path component, such that it will match with PATH |
9 |
|
10 |
Modified: main/branches/prefix/bin/misc-functions.sh |
11 |
=================================================================== |
12 |
--- main/branches/prefix/bin/misc-functions.sh 2010-02-22 19:56:18 UTC (rev 15435) |
13 |
+++ main/branches/prefix/bin/misc-functions.sh 2010-02-22 19:59:39 UTC (rev 15436) |
14 |
@@ -638,7 +638,7 @@ |
15 |
continue |
16 |
fi |
17 |
# all else is an error if the found script is in $PATH |
18 |
- local fp=${fn#${D}} ; fp=${fp%/*} |
19 |
+ local fp=${fn#${D}} ; fp=/${fp%/*} |
20 |
if [[ ":${PATH}:" == *":${fp}:"* ]] || hasq stricter ${FEATURES} ; |
21 |
then |
22 |
echo "${fn#${D}}:${line[0]}" \ |