diff --git a/mp-build/scripts/mp-build.sh b/mp-build/scripts/mp-build.sh index 89ea74d..e3ff8e5 100755 --- a/mp-build/scripts/mp-build.sh +++ b/mp-build/scripts/mp-build.sh @@ -438,7 +438,7 @@ success "(3/6) Created the changes file (CHANGES)" # create the install script 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)" fi success "(4/6) Created the install script (INSTALL)"