chiark / gitweb /
dgit import: Avoid making broken symlinks in ..
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 15 Jul 2017 22:27:29 +0000 (23:27 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 16 Jul 2017 11:14:46 +0000 (12:14 +0100)
commit51a525fdc552ff2d5f388c47b29c38784f2e5fa4
tree3cfe249a47c814a107b3aaa8f9804dca2ec0724f
parent83af484ee17f5d18ee6a161b01aa0b546d8943cb
dgit import: Avoid making broken symlinks in ..

In most cases we could carry on and fail later.  But creating a broken
symlink is undesirable, particularly because it might prevent dgit
from trying to make a non-broken symlink pointing elsewhere in future
(or prevent dget from downloading the file).

Even worse, if the dsc is in .. but an absolute path was provided, we
would make a circular symlink!

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
debian/changelog
dgit