Skip to content

Commit

Permalink
Fix bug where main dir wasn't cleaned if subdirs existed
Browse files Browse the repository at this point in the history
  • Loading branch information
L1ghtmann authored and 0cyn committed Jan 14, 2024
1 parent 2757012 commit 6974bc1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/dragon
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ if [[ $build -eq 1 ]]; then
mkdir -p "$DRAGON_DATA_DIR"
cp DragonMake "$DRAGON_DATA_DIR/DragonMake" 2> /dev/null

if [[ $clean -eq 1 && ! -f $DRAGON_DATA_DIR/.clean ]]; then
clean_dir $PWD
fi

for i in "${subsb[@]}"; do
# Copy the DragonMake into the subproject's build directory
# Primarily for bundle filter gen, right now.
Expand Down

0 comments on commit 6974bc1

Please sign in to comment.