From f71d94e8dcd20da54f3710ec1325e9c8f2846c30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20T=C3=B3th?= Date: Wed, 27 Jun 2018 14:38:11 +0200 Subject: [PATCH] Fix delete_repos broken directory changing logic --- hack/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/bootstrap.sh b/hack/bootstrap.sh index c63781d..643a9cc 100755 --- a/hack/bootstrap.sh +++ b/hack/bootstrap.sh @@ -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")