summaryrefslogtreecommitdiff
path: root/dselect/methods
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2009-05-24 21:18:30 +0200
committerGuillem Jover <guillem@debian.org>2009-05-24 21:20:05 +0200
commit328b98fff19dbafcb90008a0711672ded9c71401 (patch)
treeed27282817aafaec7e6eb286c5a2cbf7deb80c44 /dselect/methods
parent885726e7585b081eca172df9cda2a57134564922 (diff)
downloaddpkg-328b98fff19dbafcb90008a0711672ded9c71401.tar.gz
dselect: Fix bashism (“echo -e”) in disk setup method
Closes: #530071
Diffstat (limited to 'dselect/methods')
-rwxr-xr-xdselect/methods/disk/setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/dselect/methods/disk/setup b/dselect/methods/disk/setup
index 1da9b9d16..572a35ccb 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 () {