From: Nathan S. <ns...@sg...> - 2001-12-19 21:35:28
|
On Wed, Dec 19, 2001 at 04:40:17PM +1100, Nathan Scott wrote: > Thought you might want to know about this problem I came across > when doing "make" in a freshly unpacked ltp-20011206 directory... > [...] > ./IDcheck.sh: [[: command not found > ./IDcheck.sh: [[: command not found > ./IDcheck.sh: [[: command not found > Required users/groups exist. > 16:38 nathans@fuzzy ~/src/ltp-20011206 9> cat /etc/redhat-release > Red Hat Linux release 6.2 (Zoot) > 16:38 nathans@fuzzy ~/src/ltp-20011206 10> Looks like a bash2ism snuck in. I changed the [[ to [ and ]] to ]. It now works on a RedHat 6.2 system, or any other that still uses bash 1.x. -- Nate Straz ns...@sg... sgi, inc http://www.sgi.com/ Linux Test Project http://ltp.sf.net/ |