The following commit has been merged in the master branch:
commit 328b98fff19dbafcb90008a0711672ded9c71401
Author: Guillem Jover <guil...@debian.org>
Date:   Sun May 24 21:18:30 2009 +0200

    dselect: Fix bashism (“echo -e”) in disk setup method
    
    Closes: #530071

diff --git a/debian/changelog b/debian/changelog
index c81373c..998cabb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ dpkg (1.15.2) UNRELEASED; urgency=low
     start-stop-daemon.
   * Remove obsolete priorities support from dselect.
     Thanks to Sven Joachim <svenj...@gmx.de>.
+  * Fix bashism (“echo -e”) in dselect disk setup method. Closes: #530071
 
   [ Updated dpkg translations ]
   * Asturian (Marcos Alvarez Costales). Closes: #529889
diff --git a/dselect/methods/disk/setup b/dselect/methods/disk/setup
index 1da9b9d..572a35c 100755
--- a/dselect/methods/disk/setup
+++ b/dselect/methods/disk/setup
@@ -45,7 +45,7 @@ print_partition_table()
 {
        device="$1"
 
-       echo -e "p\nq\n" | fdisk "$device" 2>/dev/null
+       printf "p\nq\n" | fdisk "$device" 2>/dev/null
 }
 
 getblockdev () {

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to debian-dpkg-cvs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to