fix: correct install function line removal for mp-build

This commit is contained in:
ngn 2024-08-21 07:19:56 +03:00
parent 1b63c6e77a
commit 98bb94bec1

View File

@ -438,7 +438,7 @@ success "(3/6) Created the changes file (CHANGES)"
# create the install script # create the install script
if type INSTALL &>/dev/null; then if type INSTALL &>/dev/null; then
echo "$(type INSTALL | head -n-1 | tail -n-2 | sed 's/ //')" > "${distpath}/INSTALL" echo "$(type INSTALL | head -n-1 | sed '1,3d' | sed 's/ //')" > "${distpath}/INSTALL"
check_ret "(4/6) Failed to create the install script (INSTALL)" check_ret "(4/6) Failed to create the install script (INSTALL)"
fi fi
success "(4/6) Created the install script (INSTALL)" success "(4/6) Created the install script (INSTALL)"