bump of PORTREVISION mandatory?

Roger Marquis marquis at roble.com
Sat Jan 29 00:27:50 UTC 2011


"Helmut Schneider wrote:
> Would it make sense to have the making process sleep for a few seconds
> or have the user to press a key before proceeding? If I didn't wait for
> the lines I wouldn't really have noticed it.

Why not do one or the other depending on the terminal:

   tty >/dev/null 2>&1
   if [ $? = 0 ]; then
     echo -n "$msg.  Continue [Y/^C]: "
     read x y z
   else
     echo "$msg.  Continuing in 10s, ^C to abort ..."
     sleep 10
   fi

Roger Marquis


More information about the freebsd-ports mailing list