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 committed 2016-03-16 16:06:48 +01:00
1 parent 62d491dea1
commit bb4db3e974
1 file changed
+1 -1
+1 -1
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"
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.