Fix unbound SHARE_DIR variable in installer
After relocating binaries to INSTALL_ROOT, the SHARE_DIR variable was removed
but one reference remained in cache_installer_for_self_heal() causing
'unbound variable' error.
Changed to use INSTALL_ROOT directly since that's where the cached installer
is stored (STORED_INSTALLER=${INSTALL_ROOT}/install-sensor-proxy.sh).
This commit is contained in:
parent
ed48d7555a
commit
17d2e6876e
1 changed files with 1 additions and 1 deletions
|
|
@ -269,7 +269,7 @@ determine_installer_ref() {
|
|||
|
||||
cache_installer_for_self_heal() {
|
||||
INSTALLER_CACHE_REASON=""
|
||||
install -d "$SHARE_DIR"
|
||||
install -d "${INSTALL_ROOT}"
|
||||
|
||||
local source_issue=""
|
||||
if [[ -n "$SCRIPT_SOURCE" && -f "$SCRIPT_SOURCE" ]]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue