File: 02_workingdir.patch

package info (click to toggle)
chkrootkit 0.52-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,860 kB
  • sloc: sh: 36,448; ansic: 4,498; makefile: 155
file content (18 lines) | stat: -rw-r--r-- 522 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: the base chkrootkit is designed to be run from it's build directory,
therefore it uses "./" as a prefix to all it's executables.  we need to
change to /usr/lib/chkrootkit to keep this working
Author: unknown
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/

--- a/chkrootkit
+++ b/chkrootkit
@@ -17,6 +17,8 @@
 unalias ps > /dev/null 2>&1
 unalias dirname > /dev/null 2>&1
 
+cd /usr/lib/chkrootkit
+
 # Workaround for recent GNU coreutils
 _POSIX2_VERSION=199209
 export _POSIX2_VERSION