Fix quoting of trap commands in deblob-main. Fixes interrupt before
authorlxoliva <lxoliva@559672b5-ba27-0410-b829-e8f1faed8b1b>
Fri, 23 Mar 2012 00:17:27 +0000 (00:17 +0000)
committerlxoliva <lxoliva@559672b5-ba27-0410-b829-e8f1faed8b1b>
Fri, 23 Mar 2012 00:17:27 +0000 (00:17 +0000)
signing.

git-svn-id: http://www.fsfla.org/svn/fsfla/software/linux-libre/scripts@8473 559672b5-ba27-0410-b829-e8f1faed8b1b

deblob-main

index 656e2a4f36ad753c6e5694c1cccf4d01f6752362..6ec8e69bf38d8e93475dd8e2a65eac941781fb5b 100755 (executable)
@@ -199,7 +199,7 @@ else
   fi
 fi
 
-trap "status=$?; echo cleaning up...; rm -rf $cleanup; (exit $status); exit" 0 1 2 15
+trap 'status=$?; echo cleaning up...; rm -rf $cleanup; (exit $status); exit' 0 1 2 15
 
 set -e
 
@@ -309,7 +309,7 @@ done
 rm -f linux-libre-$kver-$gnu.tar
 
 cleanup=
-trap "status=$?; (exit $status); exit" 0 1 2 15
+trap 'status=$?; (exit $status); exit' 0 1 2 15
 
 echo All set, please review linux-libre-$kver-$gnu.patch