=
This commit is contained in:
parent
a102db152b
commit
210768479c
1 changed files with 1 additions and 1 deletions
2
cd.sh
2
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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue