summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2015-05-24 16:57:33 +0800
committerJeremy Kerr <jk@ozlabs.org>2015-05-27 10:26:41 +0800
commitad2762cf775a8dde508de47164d6429f3fd724f1 (patch)
treee63015a468cfe32c961908f0338d423227799815 /tools
parentf09e982f58384946111d4157fd2b7c2b31b78612 (diff)
downloadpatchwork-ad2762cf775a8dde508de47164d6429f3fd724f1.tar.bz2
patchwork-ad2762cf775a8dde508de47164d6429f3fd724f1.tar.xz
Move to a more recent django project structure
This change updates patchwor to the newer project struture: we've moved the actual application out of the apps/ directory, and the patchwork-specific templates to under the patchwork application. This gives us the manage.py script in the top-level now. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/patchwork-update-commits2
-rwxr-xr-xtools/post-receive.hook2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/patchwork-update-commits b/tools/patchwork-update-commits
index b2a658a..820fd1c 100755
--- a/tools/patchwork-update-commits
+++ b/tools/patchwork-update-commits
@@ -1,7 +1,7 @@
#!/bin/bash
toolsdir="$(dirname "$0")"
-pwpath="${toolsdir}"/../apps/patchwork
+pwpath="${toolsdir}"/../patchwork
if [ "$#" -lt 1 ]
then
diff --git a/tools/post-receive.hook b/tools/post-receive.hook
index a38522e..8f05b8d 100755
--- a/tools/post-receive.hook
+++ b/tools/post-receive.hook
@@ -15,7 +15,7 @@ STATE_MAP="refs/heads/master:Accepted"
#
EXCLUDE=""
-PWDIR=/srv/patchwork/apps/patchwork
+PWDIR=/srv/patchwork/patchwork
do_exit=0
trap "do_exit=1" INT