diff options
| -rwxr-xr-x | bin/fossil-archive | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/fossil-archive b/bin/fossil-archive index fb7ba68..35bfa0b 100755 --- a/bin/fossil-archive +++ b/bin/fossil-archive @@ -30,11 +30,12 @@ echo "-- making $item_id folder --" mkdir "$work_dir" while IFS='' read -r url; do - urlp="$work_dir/$(safeurl "$url")" + urlp="$(safeurl "$url")" + urlwp="$work_dir/$urlp" { echo "$ fossil clone --unversioned -v --once --no-open $url $urlp.bundle --" - USER=archiveteam-codearchiver-runner fossil clone --unversioned -v --once --no-open "$url" "$urlp.bundle" || true - } 2>&1 | tee "$urlp.log" + USER=archiveteam-codearchiver-runner fossil clone --unversioned -v --once --no-open "$url" "$urlwp.bundle" || true + } 2>&1 | tee "$urlwp.log" done echo "-- finished job for $base_url --" |
