source: patches/yaboot-1.3.17-ofpath_path_prefix-1.patch @ a7c1552

clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since a7c1552 was a5f7c53e, checked in by Jonathan Norman <jon@…>, 11 years ago

Updated Yaboot from 1.3.14 to 1.3.17 with thanks to Code Monkey.

  • 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.