Set BATCH=yes to avoid bumping into interactivity in the port builds.

XXX /usr/ports is still hardcoded, should be ${PORTSDIR}
This commit is contained in:
kris 2004-07-12 07:59:25 +00:00
parent 404e9eb472
commit b436785ed4
5 changed files with 6 additions and 6 deletions

View File

@ -37,7 +37,7 @@ type mkisofs 2>&1 | grep " is " >/dev/null
if [ $? -ne 0 ]; then
echo The cdrtools port is not installed. Trying to get it now.
if [ -f /usr/ports/sysutils/cdrtools/Makefile ]; then
cd /usr/ports/sysutils/cdrtools && make install && make clean
cd /usr/ports/sysutils/cdrtools && make install BATCH=yes && make clean
else
if ! pkg_add -r cdrtools; then
echo "Could not get it via pkg_add - please go install this"
@ -56,7 +56,7 @@ type setcdboot 2>&1 | grep " is " >/dev/null
if [ $? -ne 0 ]; then
echo The setcdboot port is not installed. Trying to get it now.
if [ -f /usr/ports/sysutils/setcdboot/Makefile ]; then
cd /usr/ports/sysutils/setcdboot && make install && make clean
cd /usr/ports/sysutils/setcdboot && make install BATCH=yes && make clean
else
if ! pkg_add -r setcdboot; then
echo "Could not get it via pkg_add - please go install this"

View File

@ -40,7 +40,7 @@ type mkisofs 2>&1 | grep " is " >/dev/null
if [ $? -ne 0 ]; then
echo The cdrtools port is not installed. Trying to get it now.
if [ -f /usr/ports/sysutils/cdrtools/Makefile ]; then
cd /usr/ports/sysutils/cdrtools && make install && make clean
cd /usr/ports/sysutils/cdrtools && make install BATCH=yes && make clean
else
if ! pkg_add -r cdrtools; then
echo "Could not get it via pkg_add - please go install this"

View File

@ -42,7 +42,7 @@ type mkisofs 2>&1 | grep " is " >/dev/null
if [ $? -ne 0 ]; then
echo The cdrtools port is not installed. Trying to get it now.
if [ -f /usr/ports/sysutils/cdrtools/Makefile ]; then
cd /usr/ports/sysutils/cdrtools && make install && make clean
cd /usr/ports/sysutils/cdrtools && make install BATCH=yes && make clean
else
if ! pkg_add -r cdrtools; then
echo "Could not get it via pkg_add - please go install this"

View File

@ -56,7 +56,7 @@ if ! which mkisofs; then
if ! pkg_add -r cdrtools; then
if [ -f /usr/ports/sysutils/cdrtools/Makefile ]; then
echo "Don't worry; building the port..."
if ! (cd $MKISOFS_PORT && make install && make clean); then
if ! (cd $MKISOFS_PORT && make install BATCH=yes && make clean); then
echo "Worry; reverting to hackery..."
hackery
fi

View File

@ -52,7 +52,7 @@ type mkisofs 2>&1 | grep " is " >/dev/null
if [ $? -ne 0 ]; then
echo The cdrtools port is not installed. Trying to get it now.
if [ -f /usr/ports/sysutils/cdrtools/Makefile ]; then
cd /usr/ports/sysutils/cdrtools && make install && make clean
cd /usr/ports/sysutils/cdrtools && make install BATCH=yes && make clean
else
if ! pkg_add -r cdrtools; then
echo "Could not get it via pkg_add - please go install this"