Skip to content

Commit bd88735

Browse files
committed
get_variant_name: remove redundant temp dir
No longer useful for any purpose. Signed-off-by: Luca Burelli <l.burelli@arduino.cc>
1 parent 93ad66d commit bd88735

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

extra/get_variant_name.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,5 @@ set -e
44
source venv/bin/activate
55

66
# Get the variant name (NORMALIZED_BOARD_TARGET in Zephyr)
7-
tmpdir=$(mktemp -d)
87
variant=$(cmake "-DBOARD=$1" -P extra/get_variant_name.cmake 2>/dev/null | grep 'VARIANT=' | cut -d '=' -f 2)
9-
rm -rf ${tmpdir}
10-
118
echo $variant

0 commit comments

Comments
 (0)