diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2012-04-29 10:10:43 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2012-04-29 10:10:43 +0200 |
commit | 33cfe12c34747bd52e2730e45566e5b21cd76153 (patch) | |
tree | 585d67a38d49fb8c796bc014277ac6c17cab0427 /cron-jobs/sourceballs | |
parent | 180e655748dc6fd8c62ca7fa269e4f614ac1e8ca (diff) | |
download | dbscripts-33cfe12c34747bd52e2730e45566e5b21cd76153.tar.gz dbscripts-33cfe12c34747bd52e2730e45566e5b21cd76153.tar.xz |
Source the config before the functions as the latter references the former
Diffstat (limited to 'cron-jobs/sourceballs')
-rwxr-xr-x | cron-jobs/sourceballs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs index a24676d..d494905 100755 --- a/cron-jobs/sourceballs +++ b/cron-jobs/sourceballs @@ -1,8 +1,8 @@ #!/bin/bash dirname="$(dirname $(readlink -e $0))" -. "${dirname}/../db-functions" . "${dirname}/../config" +. "${dirname}/../db-functions" pushd "${WORKDIR}" >/dev/null script_lock |