Lines Matching refs:path
41 function mangle_path(path) {
42 gsub("\\\\", "/", path);
43 if( path ~ /^[a-zA-Z]:/ )
44 path = tolower(substr(path,0,1)) substr(path,2);
45 gsub(WORKDIR, "$(WORKDIR)/", path);
46 gsub(OUTDIR, "$(OUTDIR)/", path);
47 gsub(SRCDIR, "$(SRCDIR)/", path);
48 gsub(REPODIR, "$(REPODIR)/", path);
49 if( path ~ /^[a-zA-Z]:/ )
50 path = "/cygdrive/" tolower(substr(path,0,1)) substr(path,3);
51 return path;