summaryrefslogtreecommitdiff
path: root/packages/pam_tacplus/build.sh
blob: fe4b06c8b23ea69ef5bc75459898e8c1b42c3d78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
CWD=$(pwd)
set -e

SRC=pam_tacplus
if [ ! -d ${SRC} ]; then
    echo "Source directory does not exists, please 'git clone'"
    exit 1
fi

cd ${SRC}
cp -a ../pam_tacplus-debian debian
rm -f debian/compat

dpkg-buildpackage -uc -us -tc -b -d