Dropping lb prefix from live-build scripts, not needed anymore.
Previously, we needed to keep the lb_* prefix as the scripts could also be executed standalone. Since the lb wrapper is mandatory since squeeze, we can drop this now.
This commit is contained in:
parent
d6e45a3437
commit
a0a5bbfd1c
4
bin/lb
4
bin/lb
|
@ -40,7 +40,7 @@ case "${1}" in
|
|||
;;
|
||||
|
||||
*)
|
||||
COMMAND="lb_${1}"
|
||||
COMMAND="${1}"
|
||||
shift
|
||||
|
||||
ENV=""
|
||||
|
@ -74,7 +74,7 @@ case "${1}" in
|
|||
exit 1
|
||||
fi
|
||||
|
||||
Echo "[%s] %s" "$(date +'%F %T')" "${COMMAND} $(echo ${@})"
|
||||
Echo "[%s] %s" "$(date +'%F %T')" "lb ${COMMAND} $(echo ${@})"
|
||||
${ENV} exec "${SCRIPT}" "${@}"
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in New Issue