summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNikola Pajkovsky <npajkovs@redhat.com>2011-06-15 09:45:41 +0200
committerNikola Pajkovsky <npajkovs@redhat.com>2011-06-15 11:57:56 +0200
commitbee2deb7f01362b5a2521ba7968adff090fa3f2c (patch)
tree855fdfb40fa628bbd2a3f90a9a858b4cdd39199a /src
parentc0e01c96366682efa94ef6154579d1b2c984bb29 (diff)
downloadabrt-bee2deb7f01362b5a2521ba7968adff090fa3f2c.tar.gz
abrt-bee2deb7f01362b5a2521ba7968adff090fa3f2c.tar.xz
abrt-bee2deb7f01362b5a2521ba7968adff090fa3f2c.zip
[abrt] dump locatation needs to know where configure puts config file from abrt
Signed-off-by: Nikola Pajkovsky <npajkovs@redhat.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/hooks/abrt-install-ccpp-hook.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hooks/abrt-install-ccpp-hook.in b/src/hooks/abrt-install-ccpp-hook.in
index a245aa28..9c7df750 100755
--- a/src/hooks/abrt-install-ccpp-hook.in
+++ b/src/hooks/abrt-install-ccpp-hook.in
@@ -8,7 +8,7 @@ verbose=false
DEFAULT_LOCATION=/var/spool/abrt
-DUMP_LOCATION=`cat /etc/abrt/abrt.conf | grep '^[ ]*DumpLocation'`
+DUMP_LOCATION=`cat @sysconfdir@/abrt/abrt.conf | grep '^[ ]*DumpLocation'`
DUMP_LOCATION=${DUMP_LOCATION#*DumpLocation*=}
DUMP_LOCATION=${DUMP_LOCATION// /}