gnu: ant-build-system: Don't override symlinks.
authorBjörn Höfling <bjoern.hoefling@bjoernhoefling.de>
Wed, 6 Mar 2019 07:05:06 +0000 (08:05 +0100)
committerBjörn Höfling <bjoern.hoefling@bjoernhoefling.de>
Sun, 13 Oct 2019 20:35:04 +0000 (22:35 +0200)
commitd967fbc13aaf47c8d7edc4102e45f2eaf8902ed8
tree9dae4a298192cd62d5dd22d6e051f593496a3590
parent8df9249d8e12423160d4308664b937e118231ae7
gnu: ant-build-system: Don't override symlinks.

When repacking jar-files, don't work on symlinks: Otherwise, they would be
overridden with the repacked jar-file.

* guix/build/ant-build-system.scm (regular-jar-file-predicate): New procedure.
(generate-jar-indices, strip-jar-timestamps): Use it.
guix/build/ant-build-system.scm