datatracker/test/patch-django
Henrik Levkowetz 1d928f6a64 Hopefully fixing the patch application
- Legacy-Id: 196
2007-05-31 20:40:49 +00:00

16 lines
509 B
Bash
Executable file

#!/bin/bash
#
# This script expects to be started by a Buildbot slave with PWD set to the build
# directory. Assuming we check out trunk or branch-XXX with the command
# 'svn co URL/BRANCH/'
# then this script will at $PWD/test/patch-django and we will place our patched
# django in $PWD/test/lib/django
#
build=$PWD
django=$(python -c "import django; import os.path; print os.path.realpath(django.__path__[0])")
rsync -Cav $django $build/test/lib/
cd $build/test/lib
patch -p 3 < $build/test/r5106.patch