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.

This commit is contained in:
colegatron 2016-03-16 16:06:48 +01:00
parent 62d491dea1
commit bb4db3e974

2
le.sh
View File

@ -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"