Sorry the script should have been:
#!/bin/bash
if [ `uname -s | grep -c 'CYGWIN'` -eq 1 ]; then printf "Target platform is Win32 via CYGWIN\n"; else printf "Target platform is NOT Win32 via CYGWIN\n"; fi
Still the same error message etc...
Arash Partow __________________________________________________ Be one who knows what they don't know, Instead of being one who knows not what they don't know, Thinking they know everything about all things. http://www.partow.net
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/