summaryrefslogtreecommitdiffstats
path: root/packaging/makeself
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2023-02-16 07:31:06 -0500
committerGitHub <noreply@github.com>2023-02-16 07:31:06 -0500
commit5c7bd2c6488cd19fa4a0eb435221223ea5e7de81 (patch)
tree68ca846d6778b3f161a4fad6d44c411d649820b3 /packaging/makeself
parentfe5f3b64927e9efb26bdf6d6401e6cd078b738ea (diff)
Assorted shellcheck cleanup. (#14524)
* Add shellcheck config file to globally disable dead code checks. These checks have an extremely high false positive rate and even when they’re correctly flagging code the impact is generally very low. * Fix assorted shellcheck errors in installer code. This should make reviewing PRs relating to this code much easier. * Make shellcheck quit complaining about shellcheckrc formatting.
Diffstat (limited to 'packaging/makeself')
-rwxr-xr-xpackaging/makeself/install-or-update.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/makeself/install-or-update.sh b/packaging/makeself/install-or-update.sh
index 52a23fc706..62089f4e98 100755
--- a/packaging/makeself/install-or-update.sh
+++ b/packaging/makeself/install-or-update.sh
@@ -179,7 +179,7 @@ dir_should_be_link() {
fi
run ln -s "${t}" "${d}"
- cd "${old}"
+ cd "${old}" || true
}
dir_should_be_link . bin sbin