From 491cfc6d1fcd6e70cd088c1b1a41999a3fb3cebb Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Thu, 6 Oct 2011 09:34:39 +0100 Subject: [PATCH] Fix versionregex conversion Signed-off-by: Mark Hymers --- scripts/debian/byhand-di | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.2