[pkg-fso-maint] [small patch] install.sh

Joachim Breitner nomeata at debian.org
Wed Aug 19 22:05:15 UTC 2009


Hi,

Am Mittwoch, den 19.08.2009, 18:28 -0300 schrieb Tiago Bortoletto Vaz:
> install.sh uses `echo pq| fdisk ${SD_DEVICE} |grep Disk` when needs to get the
> sd disk size. Note that by performing this command we can get extra information
> which can break the next steps in this script. The current grep call doesn't
> consider this possibility:
> 
> neo:~# echo pq| fdisk ${SD_DEVICE} |grep Disk |cut -f 3 -d \ ;
> [...]
> 8017
> 0x2b535af0
> ^^^^^^^^^^
> 
> and then...
> 
> neo:~# ./install.sh --part1-fs vfat --part1-size 16 partition
> [...]
> ./install.sh: line 639: 244672-(244672*0/8017
> 0x9a9ef709): missing `)' (error token is "0x9a9ef709)")
> 
> The attached patch is supposed to fix this.

thanks. I’ll happily apply it, once you assure that you actually tested
it, as I’m too lazy to do it :-)

Greetings,
Joachim
-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090820/7b195239/attachment.pgp>


More information about the pkg-fso-maint mailing list