summaryrefslogtreecommitdiff
path: root/postfix
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2012-03-23 16:24:29 +0100
committerJonas Smedegaard <dr@jones.dk>2012-03-23 16:24:29 +0100
commitd6e54f2aa3f5495489e504d60019ce5cd19b5859 (patch)
tree5c1c74326c835389d6ea16bfafdff1bf016571a3 /postfix
parent32c7cfeb23d8e0057a31749ef2a7b1361de414c4 (diff)
Use relative base path in mkpostfixconfig.sh.
Diffstat (limited to 'postfix')
-rwxr-xr-xpostfix/mkpostfixconfig.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/postfix/mkpostfixconfig.sh b/postfix/mkpostfixconfig.sh
index d5a91ed..828af13 100755
--- a/postfix/mkpostfixconfig.sh
+++ b/postfix/mkpostfixconfig.sh
@@ -2,7 +2,7 @@
set -e
-basedir="/etc/local-REDPILL"
+basedir="$(dirname "$0")/.."
domains="$(cat "$basedir/realms" | sed 's/#.*//')"