source: live-build/trunk/fuentes/debian/patches/ubuntu-fix-binary-hooks.patch @ 900

Last change on this file since 900 was 900, checked in by kbut, 4 years ago

add original source

File size: 605 bytes
  • scripts/build/lb_binary_hooks

    Description: Fix execution of binary hooks
    Author: Colin Watson <cjwatson@ubuntu.com>
    Last-Update: 2012-08-24
    
    a b  
    5050                        if [ -e "${FILE}" ]
    5151                        then
    5252                                cd binary
    53                                 ./"${FILE}" || { Echo_error "${_HOOK} failed (exit non-zero). You should check for errors."; exit 1 ;}
     53                                "${FILE}" || { Echo_error "${_HOOK} failed (exit non-zero). You should check for errors."; exit 1 ;}
    5454                                cd "${OLDPWD}"
    5555                        fi
    5656                done
Note: See TracBrowser for help on using the repository browser.