/usr/share/live/build/scripts/build.sh is in live-build 3.0~a24-1ubuntu32.
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 | #!/bin/sh
LB_BASE="${LB_BASE:-/usr/share/live/build}"
# Source global functions
for FUNCTION in "${LB_BASE}"/functions/*.sh
do
. "${FUNCTION}"
done
# Source local functions
if ls auto/functions/* > /dev/null 2>&1
then
for FUNCTION in auto/functions/*
do
. "${FUNCTION}"
done
fi
|