Sha256: 39bba40cf83ee58a901c351244ce717b0ef6f9d76e1896f2867065814d49246a

Contents?: true

Size: 783 Bytes

Versions: 1

Compression:

Stored size: 783 Bytes

Contents

#!/bin/sh
#
#############################################################################
#
# Get the version string from version.h and print it out without
# trailing newline. This makes it suitable for use in configure.ac.
#
#############################################################################
#
# Author: Lasse Collin
#
# This file has been put into the public domain.
# You can do whatever you want with this file.
#
#############################################################################

sed -n 's/LZMA_VERSION_STABILITY_ALPHA/alpha/
	s/LZMA_VERSION_STABILITY_BETA/beta/
	s/LZMA_VERSION_STABILITY_STABLE//
	s/^#define LZMA_VERSION_[MPS][AIT][AJNT][A-Z]* //p' \
	src/liblzma/api/lzma/version.h \
	| tr '\n' '|' \
	| sed 's/|/./; s/|/./; s/|//g' \
	| tr -d '\r\n'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
laag-xz-5.2.4.0 vendor/git.tukaani.org/xz/build-aux/version.sh