Menu

#1 perl file test "-z" behaves diff on cygwin

open
nobody
None
5
2007-04-19
2007-04-19
No

This isn't really a bug for you guys, but I'm just tracked down a problem that you should be aware of. I successfully compiled moses for cygwin (I *think*), but I'm having trouble getting "make release" to work. I'm working off revision 1366.

In moses/scripts/check-dependencies.pl, there's a "-z $target_dir" test on line 9. That test returns true for directories under cygwin, but returns false for directories under most other rational unixen. Guess I'm just suggesting you might want to choose another test there. It's also not particularly clear to me what you're shooting for there. I think I might change it to not "-d" in my local version to get through this for now.

Other things are looking great in the move to cygwin so far. (Had a previous rev working under linux.)

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.