aboutsummaryrefslogtreecommitdiff
path: root/exp/exp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'exp/exp.sh')
-rwxr-xr-xexp/exp.sh8
1 files changed, 1 insertions, 7 deletions
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