X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=gzexe.in;fp=gzexe.in;h=15c9e41b37cf5011f48c6dbb8c08602ad147597d;hb=c7e61475680fa226bd9b8bdd469cd66914e630f5;hp=0acd3bbb4deb8bfb3e3fae4265ecd26bb24ac420;hpb=800deb09b422a73c1212233a93839a223ff59678;p=debian%2Fgzip diff --git a/gzexe.in b/gzexe.in index 0acd3bb..15c9e41 100644 --- a/gzexe.in +++ b/gzexe.in @@ -18,7 +18,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, @@ -36,7 +36,7 @@ nl=' IFS=" $tab$nl" version='gzexe (gzip) @VERSION@ -Copyright (C) 2007 Free Software Foundation, Inc. +Copyright (C) 2007, 2009 Free Software Foundation, Inc. This is free software. You may redistribute copies of it under the terms of the GNU General Public License . There is NO WARRANTY, to the extent permitted by law. @@ -53,7 +53,11 @@ Rename each FILE with a compressed version of itself, renaming FILE to FILE~. Report bugs to ." -PATH="BINDIR:$PATH" +bindir=@bindir@ +case $1 in +--__bindir) bindir=${2?}; shift; shift;; +esac +PATH=$bindir:$PATH decomp=0 res=0