> pictools > doc > lowerdriveletter
> pictools > doc > lowerdriveletter
Pictools: Shell Script Tools
V3.3 (445)
lowerdriveletter
/pictools/lowerdriveletter
Ensure that the drive letter is lowercase in a path beginning /cygdrive/
usage sample, in MakeVars:  SRC := ${shell ${PICTOOLS}/lowerdriveletter $(CURDIR)}

The value of path is printed out unchanged unless it begins "/cygdrive/". If it does, the next letter is converted to lower case. Example:

    lowerdriveletter /cygdrive/C/progra_1/java

corresponding output:

    /cygdrive/c/progra_1/java

If the path does not begin with /cygdrive/, a warning is printed on stderr.

This command is useful because when there is an upper case driveletter, it will propagate to any derived path to a subdirectory. And this path will not match saved paths that have a lowercase drive letter.

 
Copyright © 2023 ZweiBieren, All rights reserved. Feb 5, 2023 17:05 GMT Page maintained by ZweiBieren