Skip to content

Commit a0444ca

Browse files
committed
fix
1 parent c52d505 commit a0444ca

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

taskfiles/lint-sh.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ tasks:
3333
vars: ["FLAGS", "SRC_PATHS", "VENV_DIR"]
3434
platforms: ["linux"]
3535
cmd: |-
36+
. "{{.VENV_DIR}}/bin/activate"
3637
find {{- range .SRC_PATHS}} "{{.}}" {{- end}} \
3738
-path '**/macos' -prune -o -type f -iname "*.sh" \
3839
-print0 | \
@@ -44,6 +45,7 @@ tasks:
4445
vars: ["FLAGS", "SRC_PATHS", "VENV_DIR"]
4546
platforms: ["darwin"]
4647
cmd: |-
48+
. "{{.VENV_DIR}}/bin/activate"
4749
find {{- range .SRC_PATHS}} "{{.}}" {{- end}} \
4850
-path '**/linux' -prune -o -type f -iname "*.sh" \
4951
-print0 | \

tools/scripts/lib_install/centos/install-all.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fi
1919
# Check if the system is running Ubuntu and determine the version
2020
if [[ -f /etc/os-release ]]; then
2121
source /etc/os-release
22-
if [[ "$ID" == "ubuntu" &&
22+
if [[ "${ID}" == "ubuntu" &&
2323
( "${VERSION_CODENAME}" == "focal" ||
2424
"${VERSION_CODENAME}" == "jammy" ||
2525
"${VERSION_CODENAME}" == "noble" ) ]]; then

tools/scripts/lib_install/macos/install-all.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ fi
1919
# Check if the system is running Ubuntu and determine the version
2020
if [[ -f /etc/os-release ]]; then
2121
source /etc/os-release
22-
if [[ "$ID" == "ubuntu" &&
22+
if [[ "${ID}" == "ubuntu" &&
2323
( "${VERSION_CODENAME}" == "focal" ||
2424
"${VERSION_CODENAME}" == "jammy" ||
2525
"${VERSION_CODENAME}" == "noble" ) ]]; then

0 commit comments

Comments
 (0)