~brian-murray/ubuntu/oneiric/apport/debian-installer-hook

1
2
3
4
5
6
7
#!/bin/sh -e
# This changes the kernel's core_pattern pipeline to use the local tree's
# apport program instead of the system version. This is useful if you are
# making changes to bin/apport and want to test them without copying them to
# /usr/share/apport/ every time.

echo "|$(readlink -f $(dirname $0)/data/apport) %p %s %c" > /proc/sys/kernel/core_pattern