From: lxoliva Date: Mon, 19 May 2008 01:03:58 +0000 (+0000) Subject: Fix message when copying directories. Ignore non-zero exit status in diff. X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=e501f2542192672e9600a7faab1da9816fa8b5b7;p=releases.git Fix message when copying directories. Ignore non-zero exit status in diff. git-svn-id: http://www.fsfla.org/svn/fsfla/software/linux-libre/scripts@3560 559672b5-ba27-0410-b829-e8f1faed8b1b --- diff --git a/deblob-main b/deblob-main index 4e5372c38da..f5dae770ad2 100755 --- a/deblob-main +++ b/deblob-main @@ -157,7 +157,7 @@ echo Extracing linux-$kver.tar into linux-$kver tar -xf linux-$kver.tar rm -rf linux-$kver-$libre linux-$kver-$libre.tar -echo Copying linux-$kver to linux-$kver-$libre.tar +echo Copying linux-$kver to linux-$kver-$libre cp linux-$kver.tar linux-$kver-$libre.tar cp -lR linux-$kver/. linux-$kver-$libre @@ -168,7 +168,7 @@ rm -f linux-$kver-$libre.patch cp $0 $deblob deblob-check linux-$kver-$libre echo Generating linux-$kver-$libre.patch -diff -druN linux-$kver linux-$kver-$libre > linux-$kver-$libre.patch +diff -druN linux-$kver linux-$kver-$libre > linux-$kver-$libre.patch || : echo Removing removed or modified files from linux-$kver-$libre.tar diff -rq linux-$kver linux-$kver-$libre |