File: test-func-root

package info (click to toggle)
acl 2.3.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,200 kB
  • sloc: ansic: 5,916; sh: 5,379; perl: 279; makefile: 49; sed: 16
file content (19 lines) | stat: -rwxr-xr-x 372 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

set -e
exec 2>&1
set -u
set -x

confflags=
if [ -n "${DEB_BUILD_GNU_TYPE:-}" ] && [ -n "${DEB_HOST_GNU_TYPE:-}" ]; then
  if [ "$DEB_BUILD_GNU_TYPE" = "$DEB_HOST_GNU_TYPE" ]; then
    confflags="--build=$DEB_BUILD_GNU_TYPE"
  else
    confflags="--build=$DEB_BUILD_GNU_TYPE --host=$DEB_HOST_GNU_TYPE"
  fi
fi

autoreconf -f -i
./configure $confflags
make check