deblob-check: delay expansion of echo commands in deblob-tarwrap
authorlxoliva <lxoliva@559672b5-ba27-0410-b829-e8f1faed8b1b>
Wed, 23 Jul 2014 06:55:52 +0000 (06:55 +0000)
committerlxoliva <lxoliva@559672b5-ba27-0410-b829-e8f1faed8b1b>
Wed, 23 Jul 2014 06:55:52 +0000 (06:55 +0000)
git-svn-id: http://www.fsfla.org/svn/fsfla/software/linux-libre/scripts@11491 559672b5-ba27-0410-b829-e8f1faed8b1b

deblob-check

index 7c31cb1486e9ad3a2023b35666f81c4ea5ea8339..7d32e628b7a73ca85b09011f06db5b367405e643 100755 (executable)
@@ -1,6 +1,6 @@
 #! /bin/sh
 
-# deblob-check version 2014-07-19
+# deblob-check version 2014-07-23
 # Inspired in gNewSense's find-firmware script.
 # Written by Alexandre Oliva <lxoliva@fsfla.org>
 
@@ -7597,10 +7597,10 @@ BAD regular expression:
     cat >> $tarwrap <<EOF
 #! /bin/sh
 echo='$echo' &&
-$echo ";/*begin \$1*/;" &&
+\$echo ";/*begin \$1*/;" &&
 cat &&
 echo &&
-$echo ";/*end \$1*/;"
+\$echo ";/*end \$1*/;"
 EOF
     chmod +x $tarwrap
     cmd="tar -xf - --to-command='$tarwrap \"\$TAR_FILENAME\"'"