Use $OSTYPE to figure out sytem type for scripts