sh.zio.backup: fix incorrect logic for overriding helpers dir
parent
769cf5f2a1
commit
b8d80856f8
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/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"
|
. "$ZIO_HELPERS_DIR/bash.sh"
|
||||||
else
|
else
|
||||||
if [[ "$(realpath "$(dirname "$(realpath -s "$0")")/../../../")" == "/" ]]; then
|
if [[ "$(realpath "$(dirname "$(realpath -s "$0")")/../../../")" == "/" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue