chiark / gitweb /
dgit: Handle EXDEV when putting in place output source
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 10 Oct 2018 23:28:55 +0000 (00:28 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 10 Oct 2018 23:58:26 +0000 (00:58 +0100)
commit327b277d06a194a614b6cc3f872c8a678292d7bc
treee67fac824ec5689196037ca7512a2b719913c824
parenta8a18c8f483c03492a114aac2be5e89b8f32f5c8
dgit: Handle EXDEV when putting in place output source

Replace a rename call with rename_link_xf, and change the subsequent
error handling to use $@ iff appropriate.

Closes: #910730.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit