posaune
[projects.git] / tools / make / mconfigure
index e128871..95e0006 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