Skip to content

Commit

Permalink
Add toolchain name for multitool archives
Browse files Browse the repository at this point in the history
  • Loading branch information
vit9696 committed Jul 18, 2021
1 parent 1065296 commit c2f908a
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions efibuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -452,12 +452,19 @@ if [ "$(type -t package)" = "function" ]; then
rm -f Binaries/*.zip
fi
for rtarget in "${RTARGETS[@]}" ; do
if [ "$PACKAGE" = "" ] || [ "$PACKAGE" = "$rtarget" ]; then
package "UDK/Build/${RELPKG}/${rtarget}_${TOOLCHAINS[0]}/${ARCHS[0]}" "$rtarget" "$HASH" || exit 1
if [ "$NO_ARCHIVES" != "1" ]; then
cp "UDK/Build/${RELPKG}/${rtarget}_${TOOLCHAINS[0]}/${ARCHS[0]}"/*.zip Binaries || echo skipping
for toolchain in "${TOOLCHAINS[@]}" ; do
if [ "$PACKAGE" = "" ] || [ "$PACKAGE" = "$rtarget" ]; then
if [ "${#TOOLCHAINS[@]}" -eq 1 ]; then
name="${rtarget}"
else
name="${toolchain}_${rtarget}"
fi
package "UDK/Build/${RELPKG}/${rtarget}_${toolchain}/${ARCHS[0]}" "${name}" "${HASH}" || exit 1
if [ "$NO_ARCHIVES" != "1" ]; then
cp "UDK/Build/${RELPKG}/${rtarget}_${toolchain}/${ARCHS[0]}"/*.zip Binaries || echo skipping
fi
fi
fi
done
done
fi
fi

0 comments on commit c2f908a

Please sign in to comment.