summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNathaniel Graff <nathaniel.graff@sifive.com>2019-05-08 13:11:55 -0700
committerNathaniel Graff <nathaniel.graff@sifive.com>2019-05-08 13:11:55 -0700
commit62a501d739ac856fbaf817909351c2ab03b72043 (patch)
treeed4c5374e64f3ac821a77b9e399261d22096800d /scripts
parent770b3ded63b3099fe48b4c6ffa5ba22ee06e9f9b (diff)
Add missing quotes to bash conditional
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/fixup-dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/fixup-dts b/scripts/fixup-dts
index 92e96d0..005c5de 100755
--- a/scripts/fixup-dts
+++ b/scripts/fixup-dts
@@ -23,7 +23,7 @@ fi
# When installed on MacOS with Homebrew, GNU sed is named gsed.
# If gsed exists, use it.
-if [ `which gsed` == "" ]; then
+if [ "`which gsed`" == "" ]; then
SED=sed
else
SED=gsed