scripts

shell scripts
git clone git://git.bitsmanent.org/scripts
Log | Files | Refs | README

commit 57428eeef93707b81efe19f5d43fe23c3009107e
parent e9a9fcbce454492da0a3e86c5620ec8c70e3b427
Author: Claudio Alessi <smoppy@gmail.com>
Date:   Wed, 24 May 2023 16:01:48 +0200

[dbrowse] Fix fullpath() for names having special chars (e.g. parethesis)

Diffstat:
Msrc/dbrowse | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/dbrowse b/src/dbrowse @@ -4,7 +4,7 @@ NEWLINE=" " fullpath() { - name="$(sh -c "echo $1")" + name="$(sh -c "echo '$1'")" path="$2" c="$(echo "$name" |cut -b1)"