3d2066e576
- switch to bz2 distfile - ECHO -> ECHO_MSG PR: 52043 Submitted by: Ports Fury
28 lines
505 B
Bash
28 lines
505 B
Bash
#!/bin/sh
|
|
|
|
PREFIX=$1
|
|
SYSCONFSCRIPT=Config/Configure_system.sh
|
|
APPCONFSCRIPT=Config/Configure_application.sh
|
|
|
|
# Change to the work directory.
|
|
cd $2
|
|
|
|
# Execute two configure scripts while piping the output to /dev/null.
|
|
# This is because the output looks somewhat mashed.
|
|
echo -n "Executing ${SYSCONFSCRIPT}... "
|
|
${SYSCONFSCRIPT} << _E_O_M_ > /dev/null 2>&1
|
|
0
|
|
${PREFIX}
|
|
_E_O_M_
|
|
echo "done."
|
|
|
|
echo -n "Executing ${APPCONFSCRIPT}... "
|
|
${APPCONFSCRIPT} << _E_O_M2_ > /dev/null 2>&1
|
|
3
|
|
|
|
|
|
|
|
|
|
_E_O_M2_
|
|
echo "done."
|