From: fredrik@DOLDA2000.COM Date: Wed, 11 May 2005 01:16:49 +0000 (+0000) Subject: Create an info file. X-Git-Url: http://dolda2000.com/gitweb/?p=utils.git;a=commitdiff_plain;h=34091d15cb6cd7e6dfe2bc33f17eaf589d28f6de Create an info file. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/utils@233 959494ce-11ee-0310-bf91-de5d638817bd --- diff --git a/autodlctl b/autodlctl index 38d1702..dfe2698 100755 --- a/autodlctl +++ b/autodlctl @@ -33,7 +33,8 @@ function getnext fsexpr="$fsexpr & ! S=$badsize" done fi - args=(-e "$fsexpr" -t "$tag $curep") + infofile="$d/.autodl/rtinfo" + args=(-e "$fsexpr" -t "$tag $curep" -I "$infofile") if [ -r "$d/.autodl/uarg" ]; then uarg="`cat "$d/.autodl/uarg"`" elif [ -e "$d/.autodl/autouarg" ]; then @@ -92,6 +93,7 @@ function getnext esac fi fi + rm -f "$infofile" rm -f "$outfile" rm -f "$HOME/dc/autodl/run/$tag" }