#!/bin/sh
# (c) Copyright 2012. CodeWeavers, Inc.
set -e
# Setup logging
if [ -n "$CX_LOG" ]
then
[ "$CX_LOG" = "-" ] || exec 2>>"$CX_LOG"
echo >&2
echo "***** `date`" >&2
echo "Starting: $0 $@" >&2
set -x
fi
cd "$1"
DEB_HOST_ARCH="$2"
export DEB_HOST_ARCH
if [ -n "$CX_LOG" ]
then
DH_VERBOSE=1
export DH_VERBOSE
fi
./debian/rules binary