From 86a3396c7be7012aefa8e548064673aa14c6eb39 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Mon, 7 Sep 2015 18:47:26 +0200 Subject: [PATCH] Accept +kbsdXuY for kfreebsd. --- scripts/debian/byhand-di | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/debian/byhand-di b/scripts/debian/byhand-di index 3ba2f005..783c2b9f 100755 --- a/scripts/debian/byhand-di +++ b/scripts/debian/byhand-di @@ -22,7 +22,7 @@ error() { # Check validity of version number # Expected are: YYYYMMDD, YYYYMMDD.x, YYYYMMDDx, YYYYMMDD+x, # YYYYMMDD+debXuZ and the +b[0-9] on the end -if ! echo "$VERSION" | grep -Eq "^[0-9]{8}((\.|\+?[a-z]+|\+deb[0-9]+u)[0-9]+)?(\+b[0-9])?$"; then +if ! echo "$VERSION" | grep -Eq "^[0-9]{8}((\.|\+?[a-z]+|\+deb[0-9]+u|\+kbsd[0-9]+u)[0-9]+)?(\+b[0-9])?$"; then error "Invalid version: '$VERSION'" fi -- 2.39.2