From: Michael Tremer Date: Mon, 28 Sep 2015 20:13:18 +0000 (+0200) Subject: Make sure the found repository is IPFire 2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fb8a369ce06d7b205345270085104364e0ab8efc;p=people%2Fms%2Fnightly-builds.git Make sure the found repository is IPFire 2 Signed-off-by: Michael Tremer --- 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)"