veekays / iphonedevonlinux

Automatically exported from code.google.com/p/iphonedevonlinux
0 stars 0 forks source link

Removes firmware/sdk, even if you tell it not to #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run ./toolchain clean
2. When asked if you would like to remove the SDK DMG, say no, and it will
attempt to remove it anyway.
3. Same applies to the firmware file.

What version of the product are you using? On what operating system?
Latest revision as of 10:30 PM EST Feb 15, 2009.
Ubuntu 8.04 x86 with latest updates.

Please provide any additional information below.
Luckily I had backups of the files it removed :P

Original issue reported on code.google.com by jtxdriggers on 16 Feb 2009 at 3:32

GoogleCodeExporter commented 8 years ago
little update: it turns out that if i simply hit enter to use the default 
answer (N),
then it won't delete the files. however, if i type N, and hit enter, then it 
will
erase the files.

Original comment by jtxdriggers on 18 Feb 2009 at 3:27

GoogleCodeExporter commented 8 years ago
Maybe that's because toolchain.sh only considers lower-case answers.

Attached is a patch to handle lower and upper case, which should fix your issue.
NB: the patch also makes the parsing of the answer loop until it reads a correct
answer (y/n).

Original comment by damien.c...@gmail.com on 18 Feb 2009 at 9:36

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks guys, sorry about deleting your SDKs jtxdriggers :p

Original comment by m4d...@gmail.com on 21 Feb 2009 at 9:24

GoogleCodeExporter commented 8 years ago

Original comment by m4d...@gmail.com on 21 Feb 2009 at 9:26