summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2019-12-14 13:28:29 -0800
committerPhilip Chimento <philip.chimento@gmail.com>2019-12-14 13:29:43 -0800
commitadf8f133f80b7d59a416d92cef0d0ddc57da78f0 (patch)
treee87e79b39ffdc89b6705cc43fe592b42981ae298
parent8bfecdf6c7f5e02c698dfab740660660b6d05135 (diff)
scripts: Fix variable name delimitation
The fancy quote here is considered part of the variable name, so brackets are needed to delimit it.
-rwxr-xr-xscripts/tartan2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tartan b/scripts/tartan
index 89cd9f7..d5e40b6 100755
--- a/scripts/tartan
+++ b/scripts/tartan
@@ -58,7 +58,7 @@ elif [ -f "$clang_prefix/lib/tartan/$clang_version/libtartan.so" ]; then
# 32-bit installed.
plugin_path="$clang_prefix/lib/tartan/$clang_version/libtartan.so"
elif [ ! -d "$clang_prefix/lib/tartan/$clang_version/" ]; then
- echo "Error: Unsupported version of Clang ‘$clang_version’. Recompile Tartan for this version of Clang, set TARTAN_CC to a supported Clang version, or set TARTAN_PLUGIN to a plugin which supports this version." >& 2
+ echo "Error: Unsupported version of Clang ‘${clang_version}’. Recompile Tartan for this version of Clang, set TARTAN_CC to a supported Clang version, or set TARTAN_PLUGIN to a plugin which supports this version." >& 2
exit 2
else
echo "Error: Could not find libtartan.so. Set TARTAN_PLUGIN to the absolute path of the Tartan plugin." >& 2