X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=tests%2Ftest-pipe-filter-gi1.sh;h=88404701dfe64cb44e6c30426a7efcb6ec07ae9f;hb=a39d56cfe7d904b61aba940b20de06b94b6a60f8;hp=a657980e0a2ffdf6be5030b70129bac557e664db;hpb=a3ae6e8ac4e122d3492ea9739e7cd0242fca9a31;p=gnulib.git diff --git a/tests/test-pipe-filter-gi1.sh b/tests/test-pipe-filter-gi1.sh index a657980e0..88404701d 100755 --- a/tests/test-pipe-filter-gi1.sh +++ b/tests/test-pipe-filter-gi1.sh @@ -2,10 +2,14 @@ # Find a 'tr' program that supports character ranges in the POSIX syntax. # Solaris /usr/bin/tr does not. -if test -f /usr/xpg4/bin/tr; then - TR=/usr/xpg4/bin/tr +if test -f /usr/xpg6/bin/tr; then + TR=/usr/xpg6/bin/tr else - TR=tr + if test -f /usr/xpg4/bin/tr; then + TR=/usr/xpg4/bin/tr + else + TR=tr + fi fi # A small file.