redo-sh.do: hide warning output from 'which' in some shells.
This commit is contained in:
parent
f2ef945700
commit
d55e329018
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ WARN=
|
||||||
|
|
||||||
for sh in dash sh ash ksh pdksh bash zsh busybox; do
|
for sh in dash sh ash ksh pdksh bash zsh busybox; do
|
||||||
printf "Testing %s... " "$sh"
|
printf "Testing %s... " "$sh"
|
||||||
FOUND=`which $sh` || { echo "missing"; continue; }
|
FOUND=`which $sh 2>/dev/null` || { echo "missing"; continue; }
|
||||||
|
|
||||||
# It's important for the file to actually be named 'sh'. Some
|
# It's important for the file to actually be named 'sh'. Some
|
||||||
# shells (like bash and zsh) only go into POSIX-compatible mode if
|
# shells (like bash and zsh) only go into POSIX-compatible mode if
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue