X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=zmore.in;h=64b144d840a540a0ff0f77865f13a378680f5e71;hb=bc2af9e8ae0da135d74908d6d93472c7eba8fe95;hp=8ed26ae97c78770c93d77cec5d46f09778b0cdf0;hpb=800deb09b422a73c1212233a93839a223ff59678;p=debian%2Fgzip diff --git a/zmore.in b/zmore.in index 8ed26ae..64b144d 100644 --- a/zmore.in +++ b/zmore.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="zmore (gzip) @VERSION@ -Copyright (C) 2007 Free Software Foundation, Inc. +Copyright (C) 2007, 2009-2010 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.