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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user