]> git.decadent.org.uk Git - dak.git/commitdiff
Accept +kbsdXuY for kfreebsd.
authorAnsgar Burchardt <ansgar@debian.org>
Mon, 7 Sep 2015 16:47:26 +0000 (18:47 +0200)
committerAnsgar Burchardt <ansgar@debian.org>
Mon, 7 Sep 2015 16:47:47 +0000 (18:47 +0200)
scripts/debian/byhand-di

index 3ba2f0057310ebcceac24592c2226c30c9301cf6..783c2b9fda952aba54b6c0c697b067a63f57c70b 100755 (executable)
@@ -22,7 +22,7 @@ error() {
 # Check validity of version number
 # Expected are: YYYYMMDD, YYYYMMDD.x, YYYYMMDD<suite>x, YYYYMMDD+<suite>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