sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to devel-flux cauldron by Karsten Behrmann (b27d6df112341ee377328c2eac73c0e70c29b7ce)
- From: Karsten Behrmann <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to devel-flux cauldron by Karsten Behrmann (b27d6df112341ee377328c2eac73c0e70c29b7ce)
- Date: Fri, 22 Aug 2008 11:22:13 -0500
GIT changes to devel-flux cauldron by Karsten Behrmann
<BearPerson AT sourcemage.org>:
src/enchant/menu/modules/disk-format | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
New commits:
commit b27d6df112341ee377328c2eac73c0e70c29b7ce
Author: Karsten Behrmann <BearPerson AT sourcemage.org>
Commit: Karsten Behrmann <BearPerson AT sourcemage.org>
Braino fixes - didn't catch those, I suppose
diff --git a/src/enchant/menu/modules/disk-format
b/src/enchant/menu/modules/disk-format
index 121f95f..9f1dea5 100644
--- a/src/enchant/menu/modules/disk-format
+++ b/src/enchant/menu/modules/disk-format
@@ -8,14 +8,13 @@ load_partitions() {
PARTITIONS=()
local i=0
local PART SIZE TYPE
- # Poor man's pipe: doesn't spawn a subshell.
- < <(sfdisk -l -uM | grep '^/' | sed 's/\*//;s/ \+/\t/' |
- cut -d$'\t' -f1,6,8
- sed 's/ .* / /') \
while read PART _ _ SIZE _ _ TYPE ;do
+ [[ "$TYPE" == "Empty" ]] && continue
PARTITIONS[i++]=$PARTITION
PARTITIONS[i++]="$SIZE MiB, $TYPE"
- done
+ # Poor man's pipe: doesn't spawn a subshell.
+ done < <(sfdisk -l -uM | grep '^/' |
+ sed 's/\*//;s/ \+/\t/g' | cut -d$'\t' -f1,5,7-)
}
mkfs_command() {
- [SM-Commit] GIT changes to devel-flux cauldron by Karsten Behrmann (b27d6df112341ee377328c2eac73c0e70c29b7ce), Karsten Behrmann, 08/22/2008
Archive powered by MHonArc 2.6.24.