Scripts: Use @PACKAGE_VERSION@ instead of @VERSION@.

PACKAGE_VERSION was already used in liblzma.pc.in.
This way only one version @foo@ is used.
This commit is contained in:
Lasse Collin 2024-02-17 15:35:35 +02:00
parent 67610c245b
commit 3462362ebd
4 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ case ${0##*/} in
*) prog=xzdiff; cmp=${DIFF:-diff};;
esac
version="$prog (@PACKAGE_NAME@) @VERSION@"
version="$prog (@PACKAGE_NAME@) @PACKAGE_VERSION@"
usage="Usage: ${0##*/} [OPTION]... FILE1 [FILE2]
Compare FILE1 to FILE2, using their uncompressed contents if they are

View File

@ -35,7 +35,7 @@ case ${0##*/} in
*) prog=xzgrep; grep=${GREP:-grep};;
esac
version="$prog (@PACKAGE_NAME@) @VERSION@"
version="$prog (@PACKAGE_NAME@) @PACKAGE_VERSION@"
usage="Usage: ${0##*/} [OPTION]... [-e] PATTERN [FILE]...
Look for instances of PATTERN in the input FILEs, using their

View File

@ -24,7 +24,7 @@
# specified via XZ_OPT.
xz='@xz@ --format=auto'
version='xzless (@PACKAGE_NAME@) @VERSION@'
version='xzless (@PACKAGE_NAME@) @PACKAGE_VERSION@'
usage="Usage: ${0##*/} [OPTION]... [FILE]...
Like 'less', but operate on the uncompressed contents of xz compressed FILEs.

View File

@ -24,7 +24,7 @@
# specified via XZ_OPT.
xz='@xz@ --format=auto'
version='xzmore (@PACKAGE_NAME@) @VERSION@'
version='xzmore (@PACKAGE_NAME@) @PACKAGE_VERSION@'
usage="Usage: ${0##*/} [OPTION]... [FILE]...
Like 'more', but operate on the uncompressed contents of xz compressed FILEs.