From: Michael Prokop Date: Fri, 18 Dec 2009 11:30:47 +0000 (+0100) Subject: Fix sed usage for fall back to old behaviour in MBR handling X-Git-Tag: v0.33~4 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=a8ad11c4b34c20892e73b76b6a54e5ec106b3d50 Fix sed usage for fall back to old behaviour in MBR handling --- diff --git a/debian/changelog b/debian/changelog index a1c83ce..32df2b2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Thu, 29 Oct 2009 01:40:37 +0100 + -- Michael Prokop Fri, 18 Dec 2009 12:30:18 +0100 grml-debootstrap (0.32) unstable; urgency=low diff --git a/grml-debootstrap b/grml-debootstrap index 016e73d..5ca15e8 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -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"