[Omake] symlink (FAT filesystem)

Matthieu Dubuget matthieu.dubuget at gmail.com
Wed Oct 11 04:10:11 PDT 2006


Hello,

in order to test my project on different platforms, I put everything on my
USB key, which allow me to switch between windows and linux easily. Of
course, the filesystem of my key is FAT: files cannot be symlinked, even if
connected to my linux box.

The problem is that Common.om uses  $(OSTYPE) in order to modify symlink
definition.

This is incorrect: the right test should be related to the filesystem which
seems not to be a trivial problem: there are a lot of different filesystems
for only one computer...

As a workaround, I added this in my OMakeroot:
symlink(src, dst) =
        return(cp -f $(src) $(dst))

Is there any better solution?

Salutations

Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.metaprl.org/pipermail/omake/attachments/20061011/2760eb09/attachment.html


More information about the Omake mailing list