Skip to content

Commit

Permalink
Fixes BuildOneUnix.sh for .hex file location to eliminate false warning
Browse files Browse the repository at this point in the history
  • Loading branch information
naussika committed Mar 10, 2023
1 parent eedeb86 commit 384df76
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions NativePrograms/Scripts/BuildOneUnix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ rm $program.sym > /dev/null 2>&1
rm $program.elf > /dev/null 2>&1

# Also putting this behind the gui-wall
if [[ $gui == "gui" ]]; then
mv "$program.hex" "../$program-$board.hex"
if [[ $gui == "gui" ]]; then
CATEGORY="$(basename ${PWD})" # hex_file = settings.path + m_category + "-" + m_name + ("-" + board + ".hex").c_str();
mv "$program.hex" "../../${CATEGORY}-$program-$board.hex"
fi

0 comments on commit 384df76

Please sign in to comment.