Skip to content

Commit 58cf3bb

Browse files
committed
Minor fix
1 parent 6b1e7f5 commit 58cf3bb

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

images/linux/scripts/SoftwareReport/SoftwareReport.Generator.ps1

-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ $packageManagementList = @(
5959
(Get-YarnVersion),
6060
(Get-PipVersion),
6161
(Get-Pip3Version),
62-
(Get-PipxVersion),
6362
(Get-VcpkgVersion)
6463
)
6564

images/linux/scripts/installers/pipx-packages.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ toolset="$INSTALLER_SCRIPT_FOLDER/toolset.json"
1111
pipx_packages=$(jq -r ".pipx[] .package" $toolset)
1212

1313
for package in $pipx_packages; do
14-
python_version=$(jq -r ".pipx[] | select(.package == $package) .python" $toolset)
14+
python_version=$(jq -r ".pipx[] | select(.package == \"$package\") .python" $toolset)
1515
if [ "$python_version" != "null" ]; then
1616
python_path="/opt/hostedtoolcache/Python/$python_version*/x64/bin/python$python_version"
1717
echo "Install $package into python $python_path"
@@ -22,7 +22,7 @@ for package in $pipx_packages; do
2222
fi
2323

2424
# Run tests to determine that the software installed as expected
25-
cmd=$(jq -r ".pipx[] | select(.package == $package) .cmd" $toolset)
25+
cmd=$(jq -r ".pipx[] | select(.package == \"$package\") .cmd" $toolset)
2626
if ! command -v $cmd; then
2727
echo "$package was not installed"
2828
exit 1

0 commit comments

Comments
 (0)