diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-10-13 16:16:24 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2021-10-13 16:16:24 +0200 |
commit | e2c176a084f46fcc235ae1bb69dda6965c4e80a2 (patch) | |
tree | f4ee271bfbd60b41ffc2b6e5677d9f1e737f9d04 /exp/exp.sh | |
parent | d38e6e0cf5a9790f4e774f6900c4b02a62e9e034 (diff) | |
download | dna-backup-e2c176a084f46fcc235ae1bb69dda6965c4e80a2.tar.gz dna-backup-e2c176a084f46fcc235ae1bb69dda6965c4e80a2.zip |
add option to configure SKIP_CHECK in exp
Diffstat (limited to 'exp/exp.sh')
-rwxr-xr-x | exp/exp.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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" |