From c6e82863dbcdbaf5627fb4a3c7c91c15f1d5d632 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Bj=C3=B6rkstr=C3=B6m?= Date: Sat, 3 Oct 2015 23:08:26 +0300 Subject: [PATCH] Aligned location in dnvm list -detailed on Linux --- src/dnvm.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dnvm.sh b/src/dnvm.sh index 5246921..f009738 100755 --- a/src/dnvm.sh +++ b/src/dnvm.sh @@ -977,7 +977,8 @@ dnvm() if [[ $2 == "-detailed" ]]; then # Calculate widest alias local widestAlias=5 - for f in `echo $runtimes`; do + for f in `echo -e "$runtimes"`; do + f=`echo $f | sed 's/\([:]\).*//'` local pkgName=$(__dnvm_package_name "$f") local pkgVersion=$(__dnvm_package_version "$f") local alias=""