From: Nicolas Boisselier Date: Mon, 30 Jul 2018 22:39:47 +0000 (+0100) Subject: etc/profile.d/nb.sh X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=59c61327d9bdce934457ab5b197f1734c0860edc;p=nb.git etc/profile.d/nb.sh --- diff --git a/etc/profile.d/nb.sh b/etc/profile.d/nb.sh index 18c782e9..2c156163 100644 --- a/etc/profile.d/nb.sh +++ b/etc/profile.d/nb.sh @@ -122,6 +122,6 @@ nb_api_post_host_info() { nb_post_sys_infos() { # To be compatible with other sed that does not support \t sys_infos | tr '\t' '!' | sed -e 's/"/\\"/g' -e 's/^/key="sys./' -e 's/!/" val="/' -e 's/$/"/' | while read -r i; do - echo eval nb_api_post_host_info $i + eval nb_api_post_host_info $i done }