if [ -z "$PKG_INSTALL_ROOT" ]; then BASE=$CLIENT_BASEDIR else BASE=${PKG_INSTALL_ROOT}$CLIENT_BASEDIR fi FILES="bin/automake-1.11 bin/aclocal-1.11 bin/automake bin/aclocal share/automake-1.11/Automake/Config.pm " for f in $FILES; do if [ -f ${BASE}/$f ]; then sed -e "s#@CLIENT_BASEDIR@#$CLIENT_BASEDIR#g" ${BASE}/$f >${PKGSAV}/tmp cp ${PKGSAV}/tmp ${BASE}/$f else echo "${BASE}/$f not found - not modified." fi done rm -f ${PKGSAV}/tmp if [ -z "$PKG_INSTALL_ROOT" ]; then BASE=$CLIENT_BASEDIR else BASE=${PKG_INSTALL_ROOT}$CLIENT_BASEDIR fi PATH=${PATH}:/usr/sfw/bin:/sbin:/bin:/usr/bin:/usr/local/bin export PATH INSTINFO=`which install-info | cut -f1 -d\ ` if [ -z "$INSTINFO" -o "$INSTINFO" = "no" ]; then echo " " echo "WARNING: Unable to find install-info for adding info files" echo " to ${BASE}/share/info/dir. Use the following commands" echo " to do that manually: " echo " " INSTINFO='echo' fi echo "install-info ${BASE}/share/info/automake.info --dir-file=${BASE}/share/info/dir" $INSTINFO ${BASE}/share/info/automake.info --dir-file=${BASE}/share/info/dir