fix postbuild permissions

This commit is contained in:
LAbyOne 2022-10-31 17:21:56 +01:00
parent e6d8ddf990
commit 723630558d

View File

@ -191,6 +191,7 @@ makeRelease() {
./ebuild.sh -fr -D NO_GRUB_DRIVERS_EMBEDDED -D LESS_DEBUG -t $MYTOOLCHAIN ./ebuild.sh -fr -D NO_GRUB_DRIVERS_EMBEDDED -D LESS_DEBUG -t $MYTOOLCHAIN
# Run a post build script if exist (${DIR_TOOLS}/CloverScripts/postbuild.sh) # Run a post build script if exist (${DIR_TOOLS}/CloverScripts/postbuild.sh)
if [[ -x "${DIR_TOOLS}"/CloverScripts/postbuild.sh ]]; then if [[ -x "${DIR_TOOLS}"/CloverScripts/postbuild.sh ]]; then
chmod +x "${DIR_TOOLS}"/CloverScripts/postbuild.sh
echo "Running Clover postbuild script" echo "Running Clover postbuild script"
"${DIR_TOOLS}"/CloverScripts/postbuild.sh "${CLOVERROOT}" $MYTOOLCHAIN "${DIR_TOOLS}"/CloverScripts/postbuild.sh "${CLOVERROOT}" $MYTOOLCHAIN
fi fi
@ -244,6 +245,7 @@ buildClover() {
fi fi
# Run a post build script if exist (${DIR_TOOLS}/CloverScripts/postbuild.sh) # Run a post build script if exist (${DIR_TOOLS}/CloverScripts/postbuild.sh)
if [[ -x "${DIR_TOOLS}"/CloverScripts/postbuild.sh ]]; then if [[ -x "${DIR_TOOLS}"/CloverScripts/postbuild.sh ]]; then
chmod +x "${DIR_TOOLS}"/CloverScripts/postbuild.sh
echo "Running Clover postbuild script" echo "Running Clover postbuild script"
"${DIR_TOOLS}"/CloverScripts/postbuild.sh "${CLOVERROOT}" $MYTOOLCHAIN "${DIR_TOOLS}"/CloverScripts/postbuild.sh "${CLOVERROOT}" $MYTOOLCHAIN
fi fi