Skip to content

Commit

Permalink
Update bits-info.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ale5000-git authored Oct 18, 2024
1 parent d08dbf5 commit 9f3a926
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/bits-info.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@ command 1> /dev/null 2>&1 -v 'local' || {

readlink "/proc/$$/exe" | grep 'obosh' && set -x || :
echo '---'
( test -e '/usr/bin/uname' && echo ok || echo fail )
( test -f '/usr/bin/uname' && echo ok || echo fail )
echo '---'
( [ -e '/usr/bin/uname' ] && echo ok || echo fail )
( [ -f '/usr/bin/uname' ] && echo ok || echo fail )
echo '---'
#aaa="$(/usr/bin/uname 2> /dev/null -o)" || :
#test "${aaa}" = 'Msys' && echo ok || echo fail
echo '---'
#test "$('/usr/bin/uname' 2> /dev/null -o || :)" = 'Msys' && echo ok || echo fail
echo '---'
#test "$(/usr/bin/uname 2> /dev/null -o || :)" = 'Msys' && echo ok || echo fail
test -f '/usr/bin/uname' && test "$(/usr/bin/uname 2> /dev/null -o || :)" = 'Msys' && echo ok || echo fail
echo '---'

POSIXLY_CORRECT='y'
Expand Down

0 comments on commit 9f3a926

Please sign in to comment.