1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-12-05 02:11:32 +00:00

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

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")