From: Ansgar Burchardt Date: Mon, 7 Sep 2015 16:47:26 +0000 (+0200) Subject: Accept +kbsdXuY for kfreebsd. X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=commitdiff_plain;h=86a3396c7be7012aefa8e548064673aa14c6eb39 Accept +kbsdXuY for kfreebsd. --- 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