Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix regex syntax in matching os-release (#38010)

Martin Pool46aa05e2403e
diff --git a/script/linux b/script/linux
index 47f58c0bc5f..5523d876871 100755
--- a/script/linux
+++ b/script/linux
@@ -47,7 +47,7 @@ if [[ -n $apt ]]; then
musl-dev
build-essential
)
- if (grep -qP 'PRETTY_NAME="((Debian|Raspbian).+13|' /etc/os-release); then
+ if (grep -qP 'PRETTY_NAME="(Debian|Raspbian).+13' /etc/os-release); then
# libstdc++-14-dev is in build-essential
deps+=( mold )
elif (grep -qP 'PRETTY_NAME="(Linux Mint 22|.+24\.(04|10))' /etc/os-release); then