2
0
Fork 0

sh.zio.backup: fix incorrect logic for overriding helpers dir

main
Ducky 2023-08-22 00:32:27 +01:00
parent 769cf5f2a1
commit b8d80856f8
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
if [[ -n $ZIO_HELPERS_DIR ]] && [[ -f $ZIO_HELPERS_DIR ]]; then
if [[ -n $ZIO_HELPERS_DIR ]] && [[ -d $ZIO_HELPERS_DIR ]]; then
. "$ZIO_HELPERS_DIR/bash.sh"
else
if [[ "$(realpath "$(dirname "$(realpath -s "$0")")/../../../")" == "/" ]]; then