X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=znew.in;h=e023fe10b75ce3d0f51de6bf49aa414731b591f0;hb=c7e61475680fa226bd9b8bdd469cd66914e630f5;hp=97faa0402abf6f7d87487b066ca55009fab1799e;hpb=800deb09b422a73c1212233a93839a223ff59678;p=debian%2Fgzip diff --git a/znew.in b/znew.in index 97faa04..e023fe1 100644 --- a/znew.in +++ b/znew.in @@ -5,7 +5,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, @@ -17,10 +17,14 @@ # 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"; export PATH +bindir=@bindir@ +case $1 in +--__bindir) bindir=${2?}; shift; shift;; +esac +PATH=$bindir:$PATH; export PATH version="znew (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.