init path for renewAll

This commit is contained in:
neil 2016-01-06 22:20:36 +08:00
parent 960ab88c54
commit 29a02475df
1 changed files with 2 additions and 0 deletions

2
le.sh
View File

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