Doug Barton wrote: > The other is to not use bash as your login shell, but rather to use > sh, then have a .profile that starts bash if it's available: > > if [ -x /usr/local/bin/bash ]; then > exec /usr/local/bin/bash --login > fi
Hrrm, my actual .profile entry is more complicated than that, and I just realized that I oversimplified it here. What you want to do is also test to make sure that the bash you can find will run: if [ -x /usr/local/bin/bash ]; then if /usr/local/bin/bash --version >/dev/null 2>&1; then exec /usr/local/bin/bash --login fi fi otherwise you're stuck in the same boat by exec'ing something that's going to fail because of the missing library. Sorry for the confusion, Doug -- This .signature sanitized for your protection _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"