summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rwxr-xr-xapps/patchwork/bin/parsemail.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/patchwork/bin/parsemail.sh b/apps/patchwork/bin/parsemail.sh
index 3eb645b..6cac166 100755
--- a/apps/patchwork/bin/parsemail.sh
+++ b/apps/patchwork/bin/parsemail.sh
@@ -19,7 +19,8 @@
# along with Patchwork; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-PATCHWORK_BASE="/srv/patchwork"
+BIN_DIR=`dirname $0`
+PATCHWORK_BASE=`readlink -e $BIN_DIR/../../..`
PYTHONPATH="$PATCHWORK_BASE/apps":"$PATCHWORK_BASE/lib/python" \
DJANGO_SETTINGS_MODULE=settings \