logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>
commit: 68c6544df0858f135ff1ad5ee2ae5e38f2be2ecd
parent 938d9195030246abb619eac3310f3c32a872cbc1
Author: Andrius Štikonas <andrius@stikonas.eu>
Date:   Fri, 13 Jan 2023 20:26:55 +0000

Fix invocation of after.sh hook.

bash "${FILE}" does not work when FILE is unset.

Diffstat:

Msysc/run2.sh7+------
1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/sysc/run2.sh b/sysc/run2.sh @@ -118,9 +118,4 @@ fi echo "Bootstrapping completed." cd "/" - -if [ -e after.sh ]; then - FILE=after.sh -fi - -exec env -i PATH="${PATH}" PREFIX="${PREFIX}" SOURCES="${SOURCES}" DESTDIR="${DESTDIR}" DISTFILES="${DISTFILES}" HOME="${HOME}" SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH}" bash "${FILE}" +exec env -i PATH="${PATH}" PREFIX="${PREFIX}" SOURCES="${SOURCES}" DESTDIR="${DESTDIR}" DISTFILES="${DISTFILES}" HOME="${HOME}" SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH}" bash "${SOURCES}/after.sh"