/usr/lib/live/build.sh is in live-build 3.0~a57-1ubuntu11.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | #!/bin/sh
if [ -e local/live-build ]
then
LIVE_BUILD="${LIVE_BUILD:-${PWD}/local/live-build}"
PATH="${PWD}/local/live-build/scripts/build:${PATH}"
export LIVE_BUILD PATH
fi
# Source global functions
for FUNCTION in "${LIVE_BUILD}"/functions/*.sh /usr/share/live/build/functions/*.sh
do
if [ -e "${FUNCTION}" ]
then
. "${FUNCTION}"
fi
done
# Source local functions
if ls local/functions/* > /dev/null 2>&1
then
for FUNCTION in local/functions/*
do
. "${FUNCTION}"
done
fi
|