Skip to content

Commit fd6bea0

Browse files
authored
Correctly expand awk variable
1 parent a3532fb commit fd6bea0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.common

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ ifeq (${shell uname}, Darwin)
4949
# If AVR Toolchain was installed from Microchip binaries
5050
ifneq (, $(shell which avr-gcc))
5151
CC = clang
52-
AVR_ROOT := $(shell which avr-gcc | awk -F'bin/' '{ print $1 }')
52+
AVR_ROOT := $(shell which avr-gcc | awk -F'bin/' '{ print $$1 }')
5353
AVR := ${AVR_ROOT}/bin/avr-
5454
else
5555
# gcc 4.2 from MacOS is really not up to scratch anymore

0 commit comments

Comments
 (0)