version 1.4, 2011/07/22 10:45:28
|
version 1.5, 2011/10/31 12:56:54
|
Line 10
|
Line 10
|
CMD=$1 |
CMD=$1 |
MK=${2:-make} |
MK=${2:-make} |
P=${3:-/tmp} |
P=${3:-/tmp} |
|
B=$4 |
PFX="--prefix ${P}" |
PFX="--prefix ${P}" |
shift; shift; shift; | shift; shift; shift; shift; |
echo ">>> Working script ${MK} into ${PFX}" |
echo ">>> Working script ${MK} into ${PFX}" |
|
|
|
if [ -n "${B}" ]; then |
|
PFX="${PFX} --build ${B}" |
|
fi |
|
|
TOP=$(pwd) |
TOP=$(pwd) |
echo ">>> TOPDIR=${TOP}" |
echo ">>> TOPDIR=${TOP}" |
|
|
Line 21 case $CMD in
|
Line 26 case $CMD in
|
sudo) |
sudo) |
cd sudo |
cd sudo |
# [ ! -r config.log ] && \ |
# [ ! -r config.log ] && \ |
./configure --sysconfdir=/etc --with-ignore-dot --with-tty-tickets \ | ./configure --sysconfdir=/etc --libexecdir=/usr/libexec --with-ignore-dot \ |
--with-env-editor --with-logincap \ | --with-tty-tickets --with-env-editor --with-logincap \ |
--with-long-otp-prompt --with-pam --with-logfac=local2 ${PFX} | --with-long-otp-prompt --with-pam --with-logfac=local2 \ |
| ${PFX} |
${MK} clean |
${MK} clean |
${MK} |
${MK} |
${MK} install |
${MK} install |