source:
patches/yaboot-1.3.14-ofpath_path_prefix-1.patch@
30a199c
| Last change on this file since 30a199c was 291bd8b, checked in by , 17 years ago | |
|---|---|
|
|
| File size: 830 bytes | |
| Rev | Line | |
|---|---|---|
| [bd2873e] | 1 | Submitted By: Ken Moffat <ken at linuxfromscratch dot org> |
| 2 | Date: 2006-05-16 | |
| 3 | Initial Package Version: 1.3.13 | |
| 4 | Upstream Status: Not submitted, CLFS-specific | |
| 5 | Origin: copied from the other scripts in ybin directory | |
| 6 | Description: Allows ofpath to use PATH_PREFIX like the other scripts. | |
| 7 | ||
| 8 | --- yaboot-1.3.13/ybin/ofpath.orig 2006-05-16 22:32:26.000000000 +0100 | |
| 9 | +++ yaboot-1.3.13/ybin/ofpath 2006-05-16 22:33:13.000000000 +0100 | |
| 10 | @@ -26,6 +26,9 @@ | |
| 11 | ############################################################################### | |
| 12 | ||
| 13 | PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin" | |
| 14 | +if [ -n "$PATH_PREFIX" ] ; then | |
| 15 | + PATH="${PATH}:${PATH_PREFIX}/sbin:${PATH_PREFIX}/bin:${PATH_PREFIX}/usr/sbin:${PATH_PREFIX}/usr/bin:${PATH_PREFIX}/usr/local/sbin:${PATH_PREFIX}/usr/local/bin" | |
| 16 | +fi | |
| 17 | PRG="${0##*/}" | |
| 18 | VERSION=1.0.7 | |
| 19 | DEBUG=0 |
Note:
See TracBrowser
for help on using the repository browser.
