From 1b13caac7d9108455a9918aeef7f5dca5a219da5 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 26 Oct 2020 15:48:47 -0700 Subject: [PATCH] simplify a return value --- bin/kaleidoscope-builder | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index 3e8da776..d061c948 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -335,8 +335,7 @@ compile() { _arduino_prop() { pref=$1 # Strip the preference name. And then strip leading and trailing quotations - MESSAGE=$(_arduino_props | grep --max-count=1 "${pref}=" | sed -e s/^.*"${pref}"=// -e 's/^"//' -e 's/"$//') - echo "$MESSAGE" + _arduino_props | grep --max-count=1 "${pref}=" | sed -e s/^.*"${pref}"=// -e 's/^"//' -e 's/"$//' } _arduino_props() {