kplotting/debian/tests/acc

19 lines
351 B
Bash
Executable File

#!/bin/sh
DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH)
for in_file in debian/*.acc.in; do
out_file=${in_file%.in}
sed 's/@@DEB_HOST_MULTIARCH@@/'"${DEB_HOST_MULTIARCH}"'/' \
"${in_file}" > "${out_file}"
done
DH_VERBOSE=1
dh_acc
ret=$?
if [ 0 -ne $ret ]; then
cp -r logs "${ADT_ARTIFACTS}"/acc.logs
fi
exit $ret