Remove double quotes from toolbox location
This commit is contained in:
@@ -6,7 +6,7 @@ if [ -f /etc/bashrc ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f '/run/.toolboxenv' ]; then
|
if [ -f '/run/.toolboxenv' ]; then
|
||||||
export LOCATION="Toolbox: $(cat /run/.containerenv | grep name | cut -d '=' -f 2)"
|
export LOCATION="Toolbox: $(cat /run/.containerenv | grep name | cut -d '=' -f 2 | tr -d '"')"
|
||||||
else
|
else
|
||||||
export LOCATION="Host: $(hostname)"
|
export LOCATION="Host: $(hostname)"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user