EOF
exit $1
}
+D0=`dirname $0`
+ID_DEB_BUILD=`cd $D0; pwd`
+
do_help=false
upload=false
while test $# -gt 0; do
if test "$do_help" = "yes"; then
usage 1 1>&2
fi
-
+if test ! -x /usr/bin/lxc-attach; then
+ echo "No lxc-attach. Probably not running on mochi!!"
+ exit 1
+fi
if test -f IDMETA; then
. ./IDMETA
else
UBUNTU_DIST=$UBUNTU_DIST_A
CENTOS_DIST=$CENTOS_DIST_A
fi
-ID_DEB_BUILD=~/proj/git-tools/id-deb-build
if test "$DEBIAN_DIST" -o "$UBUNTU_DIST"; then
debian=true
DNAME=`awk '/Source:/ {print $2}' debian/control`