diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-11 19:19:03 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-12-11 19:19:03 +0100 |
commit | 14852d1a5750020c569666d26f212b986571dadf (patch) | |
tree | 5a4dff870a87df30a89470f04f789cb4909f293a /src | |
parent | 890f62322fc8fee262e39a10428b1a2489edf267 (diff) | |
download | abrt-14852d1a5750020c569666d26f212b986571dadf.tar.gz abrt-14852d1a5750020c569666d26f212b986571dadf.tar.xz abrt-14852d1a5750020c569666d26f212b986571dadf.zip |
renaming abrt-pyhook-helper -> abrt-hook-python and moving it to /usr/libexec
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/Hooks/Makefile.am | 12 | ||||
-rw-r--r-- | src/Hooks/abrt-pyhook-helper.cpp | 4 | ||||
-rw-r--r-- | src/Hooks/abrt_exception_handler.py.in | 2 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/Hooks/Makefile.am b/src/Hooks/Makefile.am index af51d99a..eb71a451 100644 --- a/src/Hooks/Makefile.am +++ b/src/Hooks/Makefile.am @@ -1,5 +1,5 @@ libexec_PROGRAMS = abrt-hook-ccpp -bin_PROGRAMS = dumpoops abrt-pyhook-helper +bin_PROGRAMS = dumpoops abrt-hook-python # CCpp abrt_hook_ccpp_SOURCES = \ @@ -32,17 +32,17 @@ dumpoops_LDADD = \ ../../lib/Utils/libABRTUtils.la \ ../../lib/Utils/libABRTdUtils.la -# abrt-pyhook-helper -abrt_pyhook_helper_SOURCES = \ - abrt-pyhook-helper.cpp -abrt_pyhook_helper_CPPFLAGS = \ +# abrt-hook-python +abrt_hook_python_SOURCES = \ + abrt-hook-python.cpp +abrt_hook_python_CPPFLAGS = \ -I$(srcdir)/../../inc \ -I$(srcdir)/../../lib/Utils \ -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" \ -DCONF_DIR=\"$(CONF_DIR)\" \ -DVAR_RUN=\"$(VAR_RUN)\" \ -D_GNU_SOURCE -abrt_pyhook_helper_LDADD = \ +abrt_hook_python_LDADD = \ ../../lib/Utils/libABRTUtils.la python_PYTHON = sitecustomize.py abrt_exception_handler.py diff --git a/src/Hooks/abrt-pyhook-helper.cpp b/src/Hooks/abrt-pyhook-helper.cpp index 0d15d78f..cd17e402 100644 --- a/src/Hooks/abrt-pyhook-helper.cpp +++ b/src/Hooks/abrt-pyhook-helper.cpp @@ -1,5 +1,5 @@ /* - abrt-pyhook-helper.cpp - writes data to the /var/cache/abrt directory + abrt-hook-python.cpp - writes data to the /var/cache/abrt directory with SUID bit Copyright (C) 2009 RedHat inc. @@ -67,7 +67,7 @@ int main(int argc, char** argv) default: usage: error_msg_and_die( - "Usage: abrt-pyhook-helper [OPTIONS] <BACKTRACE\n" + "Usage: abrt-hook-python [OPTIONS] <BACKTRACE\n" "\nOptions:\n" " -p,--pid PID PID of process that caused the crash\n" " -p,--executable PATH absolute path to the program that crashed\n" diff --git a/src/Hooks/abrt_exception_handler.py.in b/src/Hooks/abrt_exception_handler.py.in index a8da9808..b5ec35f3 100644 --- a/src/Hooks/abrt_exception_handler.py.in +++ b/src/Hooks/abrt_exception_handler.py.in @@ -107,7 +107,7 @@ def write_dump(pid, tb_uuid, tb): if sys.argv[0]: executable = os.path.abspath(sys.argv[0]) - command = ["abrt-pyhook-helper"] + command = ["/usr/libexec/abrt-hook-python"] command.append("--pid=%s" % pid) command.append("--executable=%s" % executable) command.append("--uuid=%s" % tb_uuid) |