Shellcheck Compliance

scripts/bacup.sh
 * Fixes SC2154: install_home is referenced but not assigned.
 * Disabled error as this variable is sourced from setupVars file
This commit is contained in:
4s3ti 2021-11-02 16:53:54 +01:00
parent 1fa467d9fd
commit 0de5656208

View file

@ -59,6 +59,8 @@ source "${setupVars}"
checkbackupdir(){
# Disabling shellcheck error $install_home sourced from $setupVars
# shellcheck disable=SC2154
if [[ ! -d $install_home/$backupdir ]]; then
mkdir -p "$install_home"/"$backupdir"
fi