debian/tests/acc
raw| 1 | #!/bin/sh |
| 2 | |
| 3 | DEB_HOST_MULTIARCH=$(dpkg-architecture -qDEB_HOST_MULTIARCH) |
| 4 | |
| 5 | for in_file in debian/*.acc.in; do |
| 6 | out_file=${in_file%.in} |
| 7 | sed 's/@@DEB_HOST_MULTIARCH@@/'"${DEB_HOST_MULTIARCH}"'/' \ |
| 8 | "${in_file}" > "${out_file}" |
| 9 | done |
| 10 | |
| 11 | DH_VERBOSE=1 |
| 12 | |
| 13 | dh_acc |
| 14 | ret=$? |
| 15 | if [ 0 -ne $ret ]; then |
| 16 | cp -r logs "${ADT_ARTIFACTS}"/acc.logs |
| 17 | fi |
| 18 | exit $ret |