Skip to content

Commit

Permalink
Add DISCARD_PACKAGES
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebeaton committed Apr 13, 2024
1 parent 12256e7 commit 275b61d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions efibuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,14 @@ fi
cd UDK || exit 1
HASH=$(git rev-parse '@{upstream}')

if [ "$DISCARD_PACKAGES" != "" ]; then
for package_to_discard in "${DISCARD_PACKAGES[@]}" ; do
if [ -d "${package_to_discard}" ]; then
rm -rf "${package_to_discard}"
fi
done
fi

if [ "$NEW_BUILDSYSTEM" != "1" ]; then
if [ -d ../Patches ]; then
if [ ! -f patches.ready ]; then
Expand Down

0 comments on commit 275b61d

Please sign in to comment.