Commit 4651a6b60220bfadda3619a3aa3b87796a498cb9

Thomas de Grivel 2023-01-26T14:03:07

color verbose messages

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/share/shpkg/shpkg.subr b/share/shpkg/shpkg.subr
index 5961e08..4167a43 100644
--- a/share/shpkg/shpkg.subr
+++ b/share/shpkg/shpkg.subr
@@ -56,9 +56,9 @@ export LDFLAGS="${LDFLAGS} -L${SHPKG_LIB_DIR}"
 export PKG_CONFIG_PATH="${SHPKG_LIB_DIR}/pkgconfig"
 
 verbose () {
-    echo -ne "\e[104m"
+    echo -e -n "\e[104m"
     echo "$@"
-    echo -ne "\e[0m"
+    echo -e -n "\e[0m"
     "$@"
 }