if [ -z "$PKG_INSTALL_ROOT" ]; then BASE=$CLIENT_BASEDIR else BASE=${PKG_INSTALL_ROOT}$CLIENT_BASEDIR fi FILES="bin/autoscan bin/autoconf bin/ifnames bin/autoupdate bin/autoreconf bin/autom4te bin/autoheader share/autoconf/autom4te.cfg " 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/autoconf.info.gz --dir-file=${BASE}/share/info/dir" $INSTINFO ${BASE}/share/info/autoconf.info.gz --dir-file=${BASE}/share/info/dir