Create an info file.
[utils.git] / autodlctl
index 38d1702..dfe2698 100755 (executable)
--- 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"
 }