File: configure_build.sh

package info (click to toggle)
fwknop 2.6.11-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,420 kB
  • sloc: ansic: 30,106; perl: 20,346; sh: 5,560; makefile: 955; xml: 937; python: 797; java: 444; objc: 292; erlang: 128
file content (14 lines) | stat: -rwxr-xr-x 500 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh -x

#
# This is a convenience script to run ./configure with the command line args
# that the test suite needs (sets up binary locations, sysconfdir,
# etc.). Execute this script from the top level fwknop sources directory, and
# then run the test-fwknop.pl script from the test/ directory.
#

if [ -x ./configure ]; then
    ./configure --prefix=/usr --sysconfdir=`pwd`/test/conf --localstatedir=`pwd`/test/run $@
else
    echo "[*] Execute from the fwknop top level sources directory"
fi