diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-11-23 14:44:16 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-11-23 14:44:16 +0100 |
commit | 2a4938ecf8e9bddc75cd2533812cb587812eb928 (patch) | |
tree | 65467533fd496ee555625e3596488698838b6cdc /cron-jobs | |
parent | 79f70daa2a450f24d7ce00957651c2cac89599ec (diff) | |
download | dbscripts-2a4938ecf8e9bddc75cd2533812cb587812eb928.tar.gz dbscripts-2a4938ecf8e9bddc75cd2533812cb587812eb928.tar.xz |
sourceballs: Move to our workdir first to fix warning with sudo usage
Diffstat (limited to 'cron-jobs')
-rwxr-xr-x | cron-jobs/sourceballs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs index 9b6a1e4..9d52d11 100755 --- a/cron-jobs/sourceballs +++ b/cron-jobs/sourceballs @@ -1,5 +1,7 @@ #!/bin/bash +pushd "${WORKDIR}" >/dev/null + dirname="$(dirname $0)" . "${dirname}/../db-functions" . "${dirname}/../config" |