From fb8a369ce06d7b205345270085104364e0ab8efc Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 28 Sep 2015 22:13:18 +0200 Subject: [PATCH] Make sure the found repository is IPFire 2 Signed-off-by: Michael Tremer --- build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.sh b/build.sh index a806045..636fef5 100755 --- a/build.sh +++ b/build.sh @@ -34,6 +34,9 @@ build() { local dir="${1}" shift + # Check if this actually source of IPFire 2 + [ -x "${dir}/make.sh" ] || return 1 + pushd "${dir}" local branch="$(git config build.branch)" -- 2.39.2