andreasgal / B2G

Boot to Gecko aims to create a complete, standalone operating system for the open web.
https://wiki.mozilla.org/B2G
908 stars 158 forks source link

can't make config-galaxy-s2 because of error in copy_file #244

Closed davidflanagan closed 12 years ago

davidflanagan commented 12 years ago

See https://github.com/cgjones/android_device_samsung_galaxys2/blob/gingerbread/extract-files.sh#L145

The copy_file function is only used twice in this file, and both times it renames the file it copies. But it is written to check for the existance of the file by its original name, so it always fails.

Change the $1 to a $2 to fix, I think

davidflanagan commented 12 years ago

Also: ./extract-files.sh: line 403: [: missing `]'