ChangeSet 1.2231.1.205, 2005/03/28 20:13:20-08:00, [EMAIL PROTECTED]

        [PATCH] dvb: get_dvb_firmware: new unshield version
        
        patch by Mattias Holmlund: support new version of unshield for
        sp887x firmware extraction (changed cmdline parameters)
        
        Signed-off-by: Johannes Stezenbach <[EMAIL PROTECTED]>
        Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
        Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>



 get_dvb_firmware |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


diff -Nru a/Documentation/dvb/get_dvb_firmware 
b/Documentation/dvb/get_dvb_firmware
--- a/Documentation/dvb/get_dvb_firmware        2005-03-28 21:52:58 -08:00
+++ b/Documentation/dvb/get_dvb_firmware        2005-03-28 21:52:58 -08:00
@@ -79,8 +79,8 @@
     wgetfile($sourcefile, $url);
     unzip($sourcefile, $tmpdir);
     unshield("$tmpdir/$cabfile", $tmpdir);
-    verify("$tmpdir/sc_main.mc", $hash);
-    copy("$tmpdir/sc_main.mc", $outfile);
+    verify("$tmpdir/ZEnglish/sc_main.mc", $hash);
+    copy("$tmpdir/ZEnglish/sc_main.mc", $outfile);
 
     $outfile;
 }
@@ -292,7 +292,7 @@
 sub unshield {
     my ($sourcefile, $todir) = @_;
 
-    system("unshield -d \"$todir\" \"$sourcefile\" > /dev/null" ) and die 
("unshield failed - unable to extract firmware");
+    system("unshield x -d \"$todir\" \"$sourcefile\" > /dev/null" ) and die 
("unshield failed - unable to extract firmware");
 }
 
 sub verify {
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to