dir to directory

This commit is contained in:
illiliti 2020-02-13 05:33:18 +03:00
parent 1da58278d9
commit be339bf048

View File

@ -36,7 +36,7 @@ create_tmpdir() {
# remove tmpdir
remove_tmpdir() {
msg info "removing working dir"
msg info "removing working directory"
rm -rf "$tmpdir"
}
@ -44,7 +44,7 @@ remove_tmpdir() {
check_currentdir() {
script_dir=$(dirname "$0")
[ "$PWD" = "$script_dir" ] || {
msg info "changing directory to script dir"
msg info "changing current directory to script directory"
cd "$script_dir" || msg panic "failed to change directory"
}
}