@@ -273,7 +273,7 @@ func createPathTransformerFile(newdir string) *os.File {
273273 log .Fatalf ("Failed to chdir into %s: %s\n " , newdir , err .Error ())
274274 }
275275
276- // set up SEMMLE_PATH_TRANSFORMER to ensure paths in the source archive and the snapshot
276+ // set up CODEQL_PATH_TRANSFORMER to ensure paths in the source archive and the snapshot
277277 // match the original source location, not the location we moved it to
278278 pt , err := os .CreateTemp ("" , "path-transformer" )
279279 if err != nil {
@@ -292,9 +292,9 @@ func writePathTransformerFile(pt *os.File, realSrc, root, newdir string) {
292292 if err != nil {
293293 log .Fatalf ("Unable to close path transformer file: %s." , err .Error ())
294294 }
295- err = os .Setenv ("SEMMLE_PATH_TRANSFORMER " , pt .Name ())
295+ err = os .Setenv ("CODEQL_PATH_TRANSFORMER " , pt .Name ())
296296 if err != nil {
297- log .Fatalf ("Unable to set SEMMLE_PATH_TRANSFORMER environment variable: %s.\n " , err .Error ())
297+ log .Fatalf ("Unable to set CODEQL_PATH_TRANSFORMER environment variable: %s.\n " , err .Error ())
298298 }
299299}
300300
@@ -501,7 +501,8 @@ func installDependenciesAndBuild() {
501501
502502 srcdir := getSourceDir ()
503503
504- // we set `SEMMLE_PATH_TRANSFORMER` ourselves in some cases, so blank it out first for consistency
504+ // we set `CODEQL_PATH_TRANSFORMER` ourselves in some cases, so blank it out first for consistency
505+ os .Setenv ("CODEQL_PATH_TRANSFORMER" , "" )
505506 os .Setenv ("SEMMLE_PATH_TRANSFORMER" , "" )
506507
507508 // determine how to install dependencies and whether a GOPATH needs to be set up before
0 commit comments