#! /bin/sh -e ## 07_fix_tracker_home.dpatch by ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: No description. if [ $# -lt 1 ]; then echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 exit 1 fi [ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts patch_opts="${patch_opts:--f --no-backup-if-mismatch} ${2:+-d $2}" case "$1" in -patch) patch -p1 ${patch_opts} < $0;; -unpatch) patch -R -p1 ${patch_opts} < $0;; *) echo "`basename $0`: script expects -patch|-unpatch as argument" >&2 exit 1;; esac exit 0 @DPATCH@ diff -urNad /home/calvin/debian/official/roundup-0.7.0/roundup/instance.py roundup-0.7.0/roundup/instance.py --- /home/calvin/debian/official/roundup-0.7.0/roundup/instance.py 2004-02-12 00:08:23.000000000 +0100 +++ roundup-0.7.0/roundup/instance.py 2004-05-06 21:33:48.000000000 +0200 @@ -44,7 +44,7 @@ def _load_python(self, file): - file = os.path.join(tracker_home, file) + file = os.path.join(self.tracker_home, file) vars = Vars() execfile(file, vars.__dict__) return vars