diff --git a/scripts/backup.sh b/scripts/backup.sh index 936c76c..0b57813 100755 --- a/scripts/backup.sh +++ b/scripts/backup.sh @@ -9,7 +9,9 @@ # ============================================================================= # Load CLI parser (must be in same or relative path) -source ./lib/cli/arg_parser.sh +# # Resolve the directory of the current script +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +source "$SCRIPT_DIR/lib/cli/arg_parser.sh" # Flag check utility get_flag() {