From bb4db3e9743d6945a2f4d51e1ae1ffeb215c7a75 Mon Sep 17 00:00:00 2001 From: colegatron Date: Wed, 16 Mar 2016 16:06:48 +0100 Subject: [PATCH] In case /home/ivan/.le points to a symlink, it does not displays the contents with a simple 'ls'. Added a slash to force list the folder content. --- le.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/le.sh b/le.sh index c028e75..474f28f 100755 --- a/le.sh +++ b/le.sh @@ -1097,7 +1097,7 @@ renewAll() { _initpath _info "renewAll" - for d in $(ls -F $LE_WORKING_DIR | grep [^.].*[.].*/$ ) ; do + for d in $(ls -F ${LE_WORKING_DIR}/ | grep [^.].*[.].*/$ ) ; do d=$(echo $d | cut -d '/' -f 1) _info "renew $d"