Fix delete_repos broken directory changing logic

This commit is contained in:
Kristóf Tóth 2018-06-27 14:38:11 +02:00
parent 1507a9338b
commit f71d94e8dc
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ handle_exit() {
logged() { "$@" >> "${LOGFILE}" 2>&1; }
showlog() { echo && echo "Error! Showing logs:" && cat "${LOGFILE}"; }
cleanlog() { rm "${LOGFILE}"; }
delete_repos() { pushd "${HERE}" && rm -rf "${BASEIMAGE_REPO}" "${FRONTEND_REPO}" "${CHALLENGE}" && popd; }
delete_repos() { cd "${HERE}" && rm -rf "${BASEIMAGE_REPO}" "${FRONTEND_REPO}" "${CHALLENGE}"; }
check_dependencies() {
local dependencies=("git" "docker" "yarn" "ng")