diff options
author | Andres Salomon <dilinger@debian.org> | 2008-10-17 17:56:22 -0400 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2008-12-15 15:31:45 +0100 |
commit | bda6f1ad11516683dc6cac2bc1196c590bd38806 (patch) | |
tree | 8e1a33dc856bc4177b9b6a9de4bbd700e22b5609 | |
parent | 6eac119e508d7de61dcfd8c1214ab834a8ce8075 (diff) | |
download | initramfs-tools-bda6f1ad11516683dc6cac2bc1196c590bd38806.tar.gz initramfs-tools-bda6f1ad11516683dc6cac2bc1196c590bd38806.zip |
fix redboot partition support
Fix buglet in parse_numeric where *:* would match mtd:root. We only
want to match numbers. This fixes redboot partition support.
Signed-off-by: Andres Salomon <dilinger@debian.org>
-rw-r--r-- | scripts/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/functions b/scripts/functions index 697ce89..ca2b831 100644 --- a/scripts/functions +++ b/scripts/functions @@ -238,7 +238,7 @@ parse_numeric() { /*) return ;; - *:*) + [0-9]*:[0-9]*) minor=${1#*:} major=${1%:*} ;; |