From 210768479c75d112519e5932aef578711a13f257 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 3 May 2024 13:14:52 +0200 Subject: [PATCH] = --- cd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cd.sh b/cd.sh index f255508..5f31937 100644 --- a/cd.sh +++ b/cd.sh @@ -340,7 +340,7 @@ cd_grep_os () { local variable="${1}" if [ "${variable}" ] ; then grep "^${variable}=" "/etc/os-release" \ - | sed "s|^${variable}||" \ + | sed "s|^${variable}=||" \ | sed "s|^\"\(.*\)\"$|\1|" fi }