init path for renewAll

This commit is contained in:
neil 2016-01-06 22:20:36 +08:00
parent 960ab88c54
commit 29a02475df

2
le.sh
View File

@ -560,7 +560,9 @@ renew() {
} }
renewAll() { renewAll() {
_initpath
_info "renewAll" _info "renewAll"
for d in $(ls -F $WORKING_DIR | grep '/$') ; do for d in $(ls -F $WORKING_DIR | grep '/$') ; do
d=$(echo $d | cut -d '/' -f 1) d=$(echo $d | cut -d '/' -f 1)
_info "renew $d" _info "renew $d"