From 2c32efb75badab142230814b9646c7bb5f5c72a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <cynerd@email.cz>
Date: Thu, 9 Jul 2020 11:40:38 +0200
Subject: [PATCH] helpers/generate_common: fix compilation of updater

I have no idea where in process of testing and cleaning I left that out
but there should have been change of directory. That is the reason why
subshell is spawned.
---
 helpers/generate_common.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/helpers/generate_common.sh b/helpers/generate_common.sh
index 97a545a7e..2f3396df0 100644
--- a/helpers/generate_common.sh
+++ b/helpers/generate_common.sh
@@ -86,6 +86,7 @@ updater_ng_repodetect() {
 get_updater_ng() {
 	if ! git_get "$SRC_UPDATER" turris-tools/updater-ng "$UPDATER_VERSION"; then
 		(
+			cd turris-tools/updater-ng
 			./bootstrap
 			./configure --disable-tests --disable-linters --disable-docs --disable-valgrind
 			make
-- 
GitLab