cosmetic fixes in shell scripts

This commit is contained in:
Ondrej Samohel 2021-02-17 16:53:56 +01:00
parent dac617c515
commit be860f92df
No known key found for this signature in database
GPG key ID: 02376E18990A97C6
10 changed files with 129 additions and 152 deletions

View file

@ -99,8 +99,9 @@ install_poetry () {
# None
###############################################################################
clean_pyc () {
path=${1:-$pype_root}
echo -e "${IGreen}>>>${RST} Cleaning pyc at [ ${BIWhite}$path${RST} ] ... \c"
local path
path=$pype_root
echo -e "${BIGreen}>>>${RST} Cleaning pyc at [ ${BIWhite}$path${RST} ] ... \c"
find "$path" -regex '^.*\(__pycache__\|\.py[co]\)$' -delete
echo -e "${BIGreen}DONE${RST}"
}