this patch is no longer needed
[debian/gzip] / zfgrep.in
index 796236452cdae2f4729c34262168c518fa510528..df172010f8b3c5e75b9d243ccd59c7751faeba3e 100644 (file)
--- a/zfgrep.in
+++ b/zfgrep.in
@@ -1,3 +1,7 @@
 #!/bin/sh
-PATH=BINDIR:$PATH
-exec zgrep -F "$@"
+bindir=@bindir@
+case $1 in
+--__bindir) bindir=${2?}; shift; shift;;
+esac
+PATH=$bindir:$PATH
+exec zgrep --__bindir "$bindir" -F "$@"