maint: rename .cvsignore files to .gitignore
[debian/gzip] / zdiff.in
index fda3259fe1a808d18d40e00e5337fc6b2aeebe55..60f1da1c4390b6119aecb6eb8a5ac5889c5fdbb3 100644 (file)
--- a/zdiff.in
+++ b/zdiff.in
@@ -6,7 +6,7 @@
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
 # (at your option) any later version.
 
 # This program is distributed in the hope that it will be useful,
 # with this program; if not, write to the Free Software Foundation, Inc.,
 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
-PATH=BINDIR:$PATH
+bindir=@bindir@
+case $1 in
+--__bindir) bindir=${2?}; shift; shift;;
+esac
+PATH=$bindir:$PATH
 
 case $1 in
   --__cmp) shift