aboutsummaryrefslogtreecommitdiff
path: root/exp/exp.sh
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2021-10-22 12:19:46 +0200
committern-peugnet <n.peugnet@free.fr>2021-10-22 12:20:23 +0200
commit2906807f4341eef0e23f91356675595c89715490 (patch)
tree8124124d9c0d5f33c42bcfa3d95e19f02f1955e5 /exp/exp.sh
parent2c6a08c5c3b0f7346fbfa3e2ee86b248ef6d78f7 (diff)
downloaddna-backup-2906807f4341eef0e23f91356675595c89715490.tar.gz
dna-backup-2906807f4341eef0e23f91356675595c89715490.zip
first add of latex doc
Diffstat (limited to 'exp/exp.sh')
-rwxr-xr-xexp/exp.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/exp/exp.sh b/exp/exp.sh
index 6071a46..10d6cc8 100755
--- a/exp/exp.sh
+++ b/exp/exp.sh
@@ -126,7 +126,7 @@ do
if [ -n "$DNA_PARAMS" ]
then
# Create dna backups for this version
- cat $DNA_PARAMS | while read name flags
+ while read name flags
do
log "create $name backup for this version"
$DNA_BACKUP commit -v 2 $flags $REPO_PATH $name
@@ -140,7 +140,7 @@ do
| paste -sd+ \
| bc \
> $(printf "%s_export.versions/%05d" $name $i)
- done
+ done < $DNA_PARAMS
fi
if [[ $(( $i % $SKIP_CHECK )) == 0 ]]