summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorNathaniel Graff <nathaniel.graff@sifive.com>2019-05-08 20:13:12 +0000
committerGitHub <noreply@github.com>2019-05-08 20:13:12 +0000
commit44c4b9b6383f788fd29de5852cc645f0c76687a4 (patch)
treeed4c5374e64f3ac821a77b9e399261d22096800d /scripts
parent770b3ded63b3099fe48b4c6ffa5ba22ee06e9f9b (diff)
parent62a501d739ac856fbaf817909351c2ab03b72043 (diff)
Merge pull request #244 from sifive/fix-fixup
Add missing quotes to bash conditional
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