: nply/git-summary

commit 62ced56f026e0ace591750f4c7fdd9465f274851
parent b5902572c097c19fe72e4642c33d1b9dad89d538
Author: Mirko Ledda <mko.ledda@gmail.com>
Date: Sun, 30 Jul 2023 21:42:49 +0200

Merge pull request #14 from MirkoLedda/minorfix

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