From 95e5aa499a736bb474cb49ed7d891d5f9f98026f Mon Sep 17 00:00:00 2001 From: Mathias Vorreiter Pedersen Date: Wed, 18 Mar 2026 14:09:31 +0000 Subject: [PATCH] Revert "fix powershell extractor on Linux" --- powershell/tools/autobuild.sh | 4 ++-- powershell/tools/index-files.sh | 4 ++-- powershell/tools/qltest.sh | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/powershell/tools/autobuild.sh b/powershell/tools/autobuild.sh index 3ce7759ca681..ed5ab6b49c76 100644 --- a/powershell/tools/autobuild.sh +++ b/powershell/tools/autobuild.sh @@ -1,7 +1,7 @@ #!/bin/bash -if [[ -z "${CODEQL_POWERSHELL_EXTRACTOR}" ]]; then - export CODEQL_POWERSHELL_EXTRACTOR="Semmle.Extraction.PowerShell.Standalone" +if [[ -z "${CODEQL_EXTRACTOR_POWERSHELL_ROOT}" ]]; then + export CODEQL_EXTRACTOR_POWERSHELL_ROOT="Semmle.Extraction.PowerShell.Standalone.exe" fi "$CODEQL_EXTRACTOR_POWERSHELL_ROOT/tools/$CODEQL_PLATFORM/$CODEQL_POWERSHELL_EXTRACTOR" \ No newline at end of file diff --git a/powershell/tools/index-files.sh b/powershell/tools/index-files.sh index ff822999442e..2518eb92485f 100644 --- a/powershell/tools/index-files.sh +++ b/powershell/tools/index-files.sh @@ -1,7 +1,7 @@ #!/bin/bash -if [[ -z "${CODEQL_POWERSHELL_EXTRACTOR}" ]]; then - export CODEQL_POWERSHELL_EXTRACTOR="Semmle.Extraction.PowerShell.Standalone" +if [[ -z "${CODEQL_EXTRACTOR_POWERSHELL_ROOT}" ]]; then + export CODEQL_EXTRACTOR_POWERSHELL_ROOT="Semmle.Extraction.PowerShell.Standalone.exe" fi "$CODEQL_EXTRACTOR_POWERSHELL_ROOT/tools/$CODEQL_PLATFORM/$CODEQL_POWERSHELL_EXTRACTOR" --file-list "%1" \ No newline at end of file diff --git a/powershell/tools/qltest.sh b/powershell/tools/qltest.sh index 3ce7759ca681..ed5ab6b49c76 100644 --- a/powershell/tools/qltest.sh +++ b/powershell/tools/qltest.sh @@ -1,7 +1,7 @@ #!/bin/bash -if [[ -z "${CODEQL_POWERSHELL_EXTRACTOR}" ]]; then - export CODEQL_POWERSHELL_EXTRACTOR="Semmle.Extraction.PowerShell.Standalone" +if [[ -z "${CODEQL_EXTRACTOR_POWERSHELL_ROOT}" ]]; then + export CODEQL_EXTRACTOR_POWERSHELL_ROOT="Semmle.Extraction.PowerShell.Standalone.exe" fi "$CODEQL_EXTRACTOR_POWERSHELL_ROOT/tools/$CODEQL_PLATFORM/$CODEQL_POWERSHELL_EXTRACTOR" \ No newline at end of file