: nply/git-summary

commit 31291be1d23c1a9c1167f076bffd754a403395bd
parent 083c079dbfe17a65b1a1dc048982d7153bbe2fd3
Author: MirkoLedda <mko.ledda@gmail.com>
Date: Sun, 30 Jul 2023 21:41:24 +0200

minor fix
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/git-summary b/git-summary
@@ -94,7 +94,7 @@ git_summary() {
     # Use provided path, or default to pwd.
     # Here we also decide if we want relative or full path names printouts.
     local target=$(${readlink_cmd} -f ${1:-`pwd`})
-    if [ $full_path -eq 0 ] && command -v realpath >/dev/null && command -v python >/dev/null ]]; then 
+    if [ $full_path -eq 0 ] && command -v realpath >/dev/null && command -v python >/dev/null ; then 
 	local rtarget=$(get_relative_path $target)
     else
 	local rtarget=$target