Skip to content

check whether directories already exist #2

Closed
@chickymonkeys

Description

@chickymonkeys

Hi @coderigo, thank you for your contribution, this package is becoming really useful to me. By the way, I am using your code to install repositories from gitlab, and I found out that in each capture confirm file command there's a /nul missing, in order to recognize the directory as a proper file (e. g. at line 40 it should be capture confirm file "`gitDir'/nul" instead of just capture confirm file"`gitDir'" in order to get_rc == 0 if the directory exists). I have tried to change it and it is working.

Moreover, there should be an exception to control for the case in which the repository has not the same name of the program, or there are more .ado files with different names in the repository (I did not find anything of it in the code, but this is just a proposal for an improvement of the program).

Best.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions