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