aboutsummaryrefslogtreecommitdiff
path: root/system/apachetop/apachetop.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/apachetop/apachetop.SlackBuild')
-rw-r--r--system/apachetop/apachetop.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/apachetop/apachetop.SlackBuild b/system/apachetop/apachetop.SlackBuild
index c63f91dcd18d7..4051b84461863 100644
--- a/system/apachetop/apachetop.SlackBuild
+++ b/system/apachetop/apachetop.SlackBuild
@@ -55,10 +55,10 @@ find . -type d -exec chmod 0755 {} \; -o -type f -exec chmod a-s,u+rw,go-w {} \;
# Apply a patch by Aaron McClimont to allow writing statistics to a file.
# For like MRTG to use (or Cricket, Cacti, Torrus, whatever).
-zcat $CWD/apachetop.outputfile.patch.gz | patch --backup -p0
+patch -p0 < $CWD/apachetop.outputfile.patch
# Add mension of the feature added above to the manpage.
-cat $CWD/apachetop.manpage.diff | patch --backup -p0
+patch -p0 < $CWD/apachetop.manpage.diff
# Add --with-adns=<path> if you have adns installed and want ApacheTop support
# Note: The log to parce can be overwritten at runtime, using the '-f' flag.