From e2c176a084f46fcc235ae1bb69dda6965c4e80a2 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Wed, 13 Oct 2021 16:16:24 +0200 Subject: add option to configure SKIP_CHECK in exp --- exp/exp.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'exp/exp.sh') diff --git a/exp/exp.sh b/exp/exp.sh index 113d154..0c895b6 100755 --- a/exp/exp.sh +++ b/exp/exp.sh @@ -6,6 +6,7 @@ # - REPO_PATH: the path of the repo the experiment is based on # - GIT_PATH: the path of the repo git-dir # - MAX_VERSION: the max number for versions for the experiment +# - SKIP_CHECK: the number of versions to skip checking # - COMMITS: the name of the file that contains the lists of versions # - TARGZ: the path of the tar.gz dir # - DIFFS: the path of the git diff dir @@ -77,7 +78,7 @@ do $DNA_BACKUP commit -v 2 $flags $REPO_PATH $name done - if [[ $(( $i % 4 )) == 0 ]] + if [[ $(( $i % $SKIP_CHECK )) == 0 ]] then # Check restore from git diffs log "restore from git diffs" -- cgit v1.2.3