]> wagnertech.de Git - projects.git/blobdiff - tools/make/mconfigure
Merge branch 'master' of http://wagnertech.de/git/xhome
[projects.git] / tools / make / mconfigure
index ed4085595cf8b570489c2147b6c92225550a353a..95e0006520dd7995d869d71f0d3f253545412534 100755 (executable)
@@ -13,8 +13,17 @@ function echo_usage {
 function check_unversioned {
        # has to be called in the projects base directory
        # result: "M" in stdout or nothing
-       
        set -e
+       
+       # check if build is running in a sandbox
+       if ! [ -f .cm.ignore ]
+       then
+               # we create one
+               echo ".cm.ignore" > .cm.ignore
+               echo "debian.*" >> .cm.ignore
+               echo "up.*" >> .cm.ignore
+       fi
+       
        project=$(pwd)
        project=${project##*/}
        pushd .. >/dev/null
@@ -207,6 +216,7 @@ then
        # build prepare
        if [ -x debian/$paket.prepare ]
        then
+               . debian/setenv.sh
                debian/$paket.prepare
        fi
        if [ -e debian/$paket.build ]