remove staged and untracked symlink in case addurl registered inaccessible url #26
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ jobs:
|
|||
echo "Register $targetfile" ; \
|
||||
test -e "$targetfile" && git rm -f "$targetfile"; \
|
||||
(git annex addurl --raw --relaxed --file="$targetfile" "$url" && git annex get "$targetfile") || \
|
||||
echo "addurl failed for $url, continuing..."
|
||||
echo "addurl failed for $url, continuing..." && git restore --staged $targetfile && rm -f $targetfile
|
||||
done <<< "$depiction_urls"
|
||||
git annex push
|
||||
git annex push --cleanup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue