From 875d015fc4743a457ca504ccf3ef3a9ae26d0eb3 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Thu, 30 Sep 2021 19:29:06 +0200 Subject: simplify exp by not using mktemp --- exp/exp.sh | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'exp/exp.sh') diff --git a/exp/exp.sh b/exp/exp.sh index 8cc1fa4..8c861a3 100755 --- a/exp/exp.sh +++ b/exp/exp.sh @@ -2,12 +2,7 @@ commits_file=$1 repo_path=$2 - -temp_templ="dna-backup-bench-XXXXX" -mktemp="mktemp --tmpdir -d $temp_templ" - -temp=$($mktemp) -echo temp dir: $temp >&2 +temp=$3 cat $commits_file | while read i do @@ -15,4 +10,3 @@ do git -C $repo_path checkout $hash ../dna-backup commit -v 2 $repo_path $temp done -du -bad 2 $temp -- cgit v1.2.3