Fix sed usage for fall back to old behaviour in MBR handling
authorMichael Prokop <mika@grml.org>
Fri, 18 Dec 2009 11:30:47 +0000 (12:30 +0100)
committerMichael Prokop <mika@grml.org>
Fri, 18 Dec 2009 11:30:47 +0000 (12:30 +0100)
debian/changelog
grml-debootstrap

index a1c83ce..32df2b2 100644 (file)
@@ -7,6 +7,7 @@ grml-debootstrap (0.33) unstable; urgency=low
     name.
   * remove cached debs to reduce diskpace during bootstrap (based on
     patch by gebi, thanks).
+  * Fix sed usage for fall back to old behaviour in MBR handling.
 
   [ Ulrich Dangel ]
   * Support and enable per default --keyring option. [Closes: issue746]
@@ -26,7 +27,7 @@ grml-debootstrap (0.33) unstable; urgency=low
   [ Michael Gebetsroither ]
   * introduce --pre-scripts to be executed before chroot-scripts
 
- -- Michael Prokop <mika@grml.org>  Thu, 29 Oct 2009 01:40:37 +0100
+ -- Michael Prokop <mika@grml.org>  Fri, 18 Dec 2009 12:30:18 +0100
 
 grml-debootstrap (0.32) unstable; urgency=low
 
index 016e73d..5ca15e8 100755 (executable)
@@ -237,7 +237,7 @@ prompt_for_bootmanager()
         MBRDISK=$(readlink -f $MBRDISK)
      else
         # fall back to old behaviour
-        MBRDISK=$(echo ${TARGET} | sed -e 's/[0-9][0-9]*$/')
+        MBRDISK=$(echo ${TARGET} | sed -e 's/[0-9][0-9]*$//')
      fi
 
      MBRPART="MBR of $MBRDISK"