diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-09-30 19:29:06 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2021-09-30 19:29:06 +0200 |
commit | 875d015fc4743a457ca504ccf3ef3a9ae26d0eb3 (patch) | |
tree | fd945ca25d3a278231a675ca7497542917af53d9 /exp/exp.sh | |
parent | cda8a65123b95b1c59fd43cec8a0863b484c5deb (diff) | |
download | dna-backup-875d015fc4743a457ca504ccf3ef3a9ae26d0eb3.tar.gz dna-backup-875d015fc4743a457ca504ccf3ef3a9ae26d0eb3.zip |
simplify exp by not using mktemp
Diffstat (limited to 'exp/exp.sh')
-rwxr-xr-x | exp/exp.sh | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -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 |