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