18
by martin at piware
add convenience script to use local crash-reporter version |
1 |
#!/bin/sh -e
|
1402
by Martin Pitt
use-local: add comment about purpose |
2 |
# This changes the kernel's core_pattern pipeline to use the local tree's
|
3 |
# apport program instead of the system version. This is useful if you are
|
|
4 |
# making changes to bin/apport and want to test them without copying them to
|
|
5 |
# /usr/share/apport/ every time.
|
|
6 |
||
3223.1.2
by Julian Andres Klode
Introduce support for non-positional arguments |
7 |
echo "|$(readlink -f $(dirname $0)/data/apport) -p%p -s%s -c%c -d%d -P%P" | tee /proc/sys/kernel/core_pattern |