1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-17 09:05:50 +02:00

(PREV_VERSION): Tweak so it handles e.g., 2.0a -> 2.0.

This commit is contained in:
Jim Meyering
2000-01-04 12:24:49 +00:00
parent 556a7ac657
commit 1a7010a87f

View File

@@ -62,7 +62,7 @@ my-distcheck:
THIS_VERSION_REGEXP = $(subst .,\.,$(VERSION))
# FIXME: this works only for Gnits-style test releases.
PREV_VERSION := $(shell echo $(VERSION)|tr a-z Xa-y)
PREV_VERSION := $(shell echo $(VERSION)|tr b-z a-y|sed 's/a$$//')
PREV_VERSION_REGEXP := $(shell echo $(PREV_VERSION)|sed 's/\./\\./g')
v = Version