jpeddicord / askalono

A tool & library to detect open source licenses from texts
Apache License 2.0
256 stars 25 forks source link

AppVeyor: Fix creation of symblic links for good #31

Closed sschuberth closed 5 years ago

sschuberth commented 5 years ago

Description of changes:

The main repository contains symbolic links to directories in the submodule. As the submodule is initialized after the main repository, it is unknown to Git whether the links point to files or directories. On Windows, this is important to know as symbolic links can point to either files or directories, and the type has to be known at the point of their creation. The default is to create file symbolic links, which is wrong in this case. So delete the symbolic links and check them out again after the submodule has been initialized to get them recreated as directory symbolic links.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

jpeddicord commented 5 years ago

Cool -- looks like AppVeyor is reporting a successful status here too. Thanks for the change!