aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-10-12 19:48:59 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-10-12 19:48:59 +0300
commit36785599ecfd1a617b2ab6eaf55c6a7afd9ecec4 (patch)
tree7085a017bfaebac689adbdef582f0148d31204be
parentfix_nt_symbol_path.sh: interface update (diff)
downloadwindows-tmp-36785599ecfd1a617b2ab6eaf55c6a7afd9ecec4.tar.gz
windows-tmp-36785599ecfd1a617b2ab6eaf55c6a7afd9ecec4.zip
code style
-rw-r--r--fix_nt_symbol_path.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/fix_nt_symbol_path.sh b/fix_nt_symbol_path.sh
index f70b249..71cf21e 100644
--- a/fix_nt_symbol_path.sh
+++ b/fix_nt_symbol_path.sh
@@ -87,6 +87,7 @@ path_append() {
prompt_to_continue() {
local prefix="${FUNCNAME[0]}"
+
if [ "${#FUNCNAME[@]}" -gt 1 ]; then
prefix="${FUNCNAME[1]}"
fi
@@ -108,7 +109,7 @@ ensure_reg_available() {
if command -v reg.exe > /dev/null; then
return 0
else
- dump "reg.exe could not be found" >&2
+ dump 'couldn'"'"'t find reg.exe' >&2
return 1
fi
}
@@ -213,7 +214,7 @@ fix_nt_symbol_path() {
local srv_str="SRV*$symbols_dir*http://msdl.microsoft.com/download/symbols"
local vscache_dir="$tmp_dir\\vscache"
- dump "directories:"
+ dump 'directories:'
dump " custom PDB files: $pdbs_dir"
dump " symbol store: $symbols_dir"
dump " Visual Studio project cache files: $vscache_dir"