Skip to content

Commit

Permalink
Merge #3287
Browse files Browse the repository at this point in the history
3287: Fix Makefile with TARGET_DIR end with release folder, removing it r=ptitSeb a=ptitSeb

# Description
Fix Makefile with TARGET_DIR end with release folder, removing it completly from the `--target-dir`

Co-authored-by: ptitSeb <sebastien.chev@gmail.com>
  • Loading branch information
bors[bot] and ptitSeb authored Nov 8, 2022
2 parents 3aa8831 + 8a68af9 commit da85967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ ifneq (, $(TARGET_DIR))
endif

ifeq (release, $(notdir $(TARGET_DIR)))
target_dir := --target-dir $(TARGET_DIR)/..
target_dir := --target-dir $(dir $(TARGET_DIR))
endif

$(info -----------)
Expand Down

0 comments on commit da85967

Please sign in to comment.