diff --git a/zb-cleanup b/zb-cleanup index 9761ebf..1c4a97c 100755 --- a/zb-cleanup +++ b/zb-cleanup @@ -1,5 +1,7 @@ #!/bin/bash +source /etc/profile >&/dev/null + if [[ -z "$1" || -z "$2" ]] ; then echo "usage: $0 [max_age]" >&2 exit 1 diff --git a/zb-pull b/zb-pull index 0dabade..2aaeac8 100755 --- a/zb-pull +++ b/zb-pull @@ -1,5 +1,7 @@ #!/bin/sh +source /etc/profile >&/dev/null + if [[ -z "$1" || -z "$2" || -z "$3" ]] ; then echo "usage: $0 " >&2 exit 1 diff --git a/zb-snap b/zb-snap index bd94e5d..18ef74b 100755 --- a/zb-snap +++ b/zb-snap @@ -1,5 +1,7 @@ #!/bin/sh +source /etc/profile >&/dev/null + if [ -z "$1" ] ; then echo "usage: $0 " >&2 exit 1