From 8b85ee500c4a2095df42abab641863d93d36797c Mon Sep 17 00:00:00 2001 From: Mirek Kratochvil Date: Tue, 10 Jun 2014 16:52:37 +0200 Subject: source user profile to get full PATH etc. --- zb-cleanup | 2 ++ 1 file changed, 2 insertions(+) (limited to 'zb-cleanup') 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 -- cgit v1.2.3