aboutsummaryrefslogtreecommitdiffstats
path: root/script/mailin
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2015-06-22 12:45:10 +0100
committerLouise Crow <louise.crow@gmail.com>2015-06-22 12:45:10 +0100
commitc7561d62b96f745e21f256c4e5bd4bdb10e80bd0 (patch)
treee60219762b0f3173505ab098fe54c3f62f00d5a5 /script/mailin
parentaa97a50aaa255ecd7452ee097b3aa280f3fb924d (diff)
parente867877b68ba30d4641dd4b5d9d2b1b61db15c87 (diff)
Merge branch 'use-bash-source-in-mail-scripts' into develop
Diffstat (limited to 'script/mailin')
-rwxr-xr-xscript/mailin2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/mailin b/script/mailin
index 5f2a9c243..48e236cfe 100755
--- a/script/mailin
+++ b/script/mailin
@@ -8,7 +8,7 @@ OUTPUT=$(mktemp -t foi-mailin-output-XXXXXXXX)
# Read the email message from stdin, and write it to the file $INPUT
cat >"$INPUT"
-cd "$(dirname "$0")"/..
+cd "$(dirname "${BASH_SOURCE[0]}")"/..
source commonlib/shlib/deployfns
read_conf config/general