mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
17 lines
327 B
Bash
Executable File
17 lines
327 B
Bash
Executable File
#!/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
|
|
|
|
sudo mk-build-deps --install --tool "apt-get --yes --no-install-recommends"
|
|
dpkg-buildpackage -uc -us -tc -b -d
|