]> git.ipfire.org Git - people/ms/nightly-builds.git/commitdiff
Make sure the found repository is IPFire 2
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 28 Sep 2015 20:13:18 +0000 (22:13 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 28 Sep 2015 20:13:44 +0000 (22:13 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
build.sh

index a8060454f585f70318af1284b5f5712c6e3a0d64..636fef5acb9366691a85bfe33e40a111307fc8ba 100755 (executable)
--- 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)"