| витязь в тигровом халате ( @ 2008-03-23 11:54:00 |
Start script, reordering and cross-compilation
Our start script for Mozilla apps (FF, TB etc) contains code:
if [ "$OSTYPE" = "beos" ]; then
mimeset -F "$MOZILLA_BIN"
fi
In case we don't use it at least once (e.g. using reordered build which "should" start without script), we can fall in all kinds of strange behaviour, something alike described by tigerdog in previous posting.
Same will happen if OSTYPE isn't reported as BeOS.
And there are some problems with that if we do it at compile time - only new packaging proposed by mmadia (zip) will preserve attributes, and if you do compilation under Linux - this operation cannot be done at all.
For linux there is another problem - all commands like "copyattr" wouldn't work there at build/packaging time.
Our start script for Mozilla apps (FF, TB etc) contains code:
if [ "$OSTYPE" = "beos" ]; then
mimeset -F "$MOZILLA_BIN"
fi
In case we don't use it at least once (e.g. using reordered build which "should" start without script), we can fall in all kinds of strange behaviour, something alike described by tigerdog in previous posting.
Same will happen if OSTYPE isn't reported as BeOS.
And there are some problems with that if we do it at compile time - only new packaging proposed by mmadia (zip) will preserve attributes, and if you do compilation under Linux - this operation cannot be done at all.
For linux there is another problem - all commands like "copyattr" wouldn't work there at build/packaging time.