summaryrefslogtreecommitdiff
path: root/Makefile.maint
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-01-04 12:24:49 +0000
committerJim Meyering <jim@meyering.net>2000-01-04 12:24:49 +0000
commit1a7010a87ff092db40b5b84ef723d27f6929263b (patch)
tree868c7c38751c640d1f6853c828f7ac09ed9b6ed0 /Makefile.maint
parent556a7ac65760d3ecab0ad7f5619bdf0a55609f5d (diff)
downloadcoreutils-1a7010a87ff092db40b5b84ef723d27f6929263b.tar.gz
coreutils-1a7010a87ff092db40b5b84ef723d27f6929263b.tar.bz2
coreutils-1a7010a87ff092db40b5b84ef723d27f6929263b.zip
(PREV_VERSION): Tweak so it handles e.g., 2.0a -> 2.0.
Diffstat (limited to 'Makefile.maint')
-rw-r--r--Makefile.maint2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.maint b/Makefile.maint
index db15b885a..912c171ef 100644
--- a/Makefile.maint
+++ b/Makefile.maint
@@ -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