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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since c3fe50a 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
  • yaboot-1.3.13/ybin/ofpath

    Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
    Date: 2006-05-16
    Initial Package Version: 1.3.13
    Upstream Status: Not submitted, CLFS-specific
    Origin: copied from the other scripts in ybin directory
    Description: Allows ofpath to use PATH_PREFIX like the other scripts.
    
    old new  
    2626###############################################################################
    2727
    2828PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"
     29if [ -n "$PATH_PREFIX" ] ; then
     30    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"
     31fi
    2932PRG="${0##*/}"
    3033VERSION=1.0.7
    3134DEBUG=0
Note: See TracBrowser for help on using the repository browser.