source: patches/yaboot-1.3.13-ofpath_path_prefix-1.patch@ e793c46

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since e793c46 was bd2873e, checked in by Jim Gifford <clfs@…>, 18 years ago

r3959@server (orig r1780): ken | 2006-06-18 13:36:35 -0700
Add yet another missing patch for ppc and ppc64.

  • Property mode set to 100644
File size: 830 bytes
RevLine 
[bd2873e]1Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
2Date: 2006-05-16
3Initial Package Version: 1.3.13
4Upstream Status: Not submitted, CLFS-specific
5Origin: copied from the other scripts in ybin directory
6Description: 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.