X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=deblob-main;h=cb6af7fd2678fd8eaada1bc5de30f40fff838ee7;hb=072a82d35612a8d0af9400b1c2e76c25ecf08d0e;hp=961243d2f08f51a53ecaa8b6c745a924f0535ce3;hpb=e58b90f3309cbc925b16995e33c924648049b304;p=releases.git diff --git a/deblob-main b/deblob-main index 961243d2f08f..cb6af7fd2678 100755 --- a/deblob-main +++ b/deblob-main @@ -126,7 +126,7 @@ for d in \ echo $d already exists >&2 exit 1 fi - cleanup="$cleanup $f" + cleanup="$cleanup $d" done if test -f $dir/deblob-$kver; then @@ -161,7 +161,7 @@ echo Uncompressing linux-$kver.tar.bz2 into linux-$kver.tar rm -rf linux-$kver linux-$kver.tar bunzip2 < linux-$kver.tar.bz2 > linux-$kver.tar -echo Extracing linux-$kver.tar into linux-$kver +echo Extracting linux-$kver.tar into linux-$kver tar -xf linux-$kver.tar rm -rf linux-$kver-$libre linux-$kver-$libre.tar @@ -171,7 +171,7 @@ cp -lR linux-$kver/. linux-$kver-$libre rm -f linux-$kver-$libre.log linux-$kver-$libre.log.tmp echo Deblobbing within linux-$kver-$libre, saving output to linux-$kver-$libre.log -# We can't just pipe deblob into tee, for then we fail to detect +# We can't just pipe deblob into tee, for then we fail to detect # error conditions. Use file renaming to tell whether we succeeded. if (cd linux-$kver-$libre && /bin/sh ../$deblob $force) 2>&1; then mv linux-$kver-$libre.log.tmp linux-$kver-$libre.log