techno <[EMAIL PROTECTED]> writes:

> [techno][7:35][~/coreutils-5.91]% ./configure
> ./configure:42: command not found: chmod

Jim's advice about BSD/OS 3.1 is good, but I'd like to get to the
bottom of the problem, and to do this I need to figure out exactly
in what way the BSD/OS 3.1 shell is buggy.

What do the following shell script output on your BSD/OS 3.1 host?

  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh

  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  echo PATH_SEPARATOR="$PATH_SEPARATOR (method 1)"

  if (PATH="/nonexistent;."; export PATH; (conf$$.sh)) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
  echo PATH_SEPARATOR="$PATH_SEPARATOR (method 2)"

  rm -f conf$$.sh


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to