From: Mark Hymers Date: Thu, 6 Oct 2011 08:34:39 +0000 (+0100) Subject: Fix versionregex conversion X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=491cfc6d1fcd6e70cd088c1b1a41999a3fb3cebb;p=dak Fix versionregex conversion Signed-off-by: Mark Hymers --- diff --git a/scripts/debian/byhand-di b/scripts/debian/byhand-di index 99cb3131..f8e5f6ba 100755 --- a/scripts/debian/byhand-di +++ b/scripts/debian/byhand-di @@ -54,7 +54,8 @@ if [ -d "$TARGET/$VERSION" ]; then fi # We know the VERSION is sane by here, we just need to make sure we escape the + in +b1 (if any) -VERSIONREGEXP="$(echo $VERSION | sed 's@+@\\\+@')" +# It needs 'g' as well as we may have +$DIST+b[0-9] +VERSIONREGEXP="$(echo $VERSION | sed 's@+@\\\+@g')" # We know all data to be in ./installer-/; see if there's # anything else in the tarball except that and the 'current' symlink