system mkdir

Jesse Phillips jessekphillips+D at gmail.com
Fri Mar 19 20:10:59 PDT 2010


Spacen Jasset wrote:

> then presumably the syntax you are using is a bashism?. You could also 
> say something like:
>
>
> system("bash mkdir -p " ~ path);
>
>
> Messing with your sh symlink may have some undesired consequences.

Actually, not messing with it will have undesired consequences. Lots of
scripts assume sh points to bash. Though he should still change his code
so he isn't one of those doing the assuming.

I think someone wanted to restore that scripts be sh complient when they
claim to use it, so dash became the default.


More information about the Digitalmars-d-learn mailing list