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

clfs-3.0.0-sysvinit sysvinit
Last change on this file since 776a0890 was a5f7c53e, checked in by Jonathan Norman <jon@…>, 13 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
  • 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.