File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
tools/scripts/lib_install Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 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 | \
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 | \
Original file line number Diff line number Diff line change 1919# Check if the system is running Ubuntu and determine the version
2020if [[ -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
Original file line number Diff line number Diff line change 1919# Check if the system is running Ubuntu and determine the version
2020if [[ -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
You can’t perform that action at this time.
0 commit comments