timewall / firmware-mod-kit

Automatically exported from code.google.com/p/firmware-mod-kit
0 stars 0 forks source link

unsquashfs_all.sh squashfs vs squashfs-lzma correct determination #56

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

svn revision 301

unsquashfs_all.sh
contains code for squashfs correct execution determination
if [ "$(ls $DIR)" == "" ]
but for squashfs-lzma code is
if [ "$(ls $DIR)" != "" ]

Looks like fragment 
if [ "$(ls $DIR)" != "" ] should be used for both cases

Original issue reported on code.google.com by vladimir...@epam.com on 13 Mar 2012 at 11:56

GoogleCodeExporter commented 9 years ago
I met the same problem(extract failed) using extract-ng.sh, and solved it by 
modify "==" to "!="

Original comment by din...@gmail.com on 15 Mar 2012 at 6:03

GoogleCodeExporter commented 9 years ago
Committed change.

Original comment by jeremy.collake@gmail.com on 15 Mar 2012 at 6:10

GoogleCodeExporter commented 9 years ago
commit #2, hastily did it ass backwards

Original comment by jeremy.collake@gmail.com on 15 Mar 2012 at 6:12