Shell scripting problem for importing Firefox files
I have the Firefox source code (versoin 1.0).
I have made a cross-platform application in which, for running the firefox browser i require most of the files of firefox/bin (binary and library files etc.).
Currently i am using an environment variable which contains the path of the firefox bin directory and the browser runs properly.
For distributing my application, i need to copy most of the files present in firefox bin directory in my application's path.
When i run "ls -l" in firefox bin directory, i find that most of the files are links to files in different firefox directories. On "bull-shit Windows", the original files are present in firefox bin directory, so i just copy-paste the files in my application path on windows.
But on *nix systems, links are present instead of files.
Now, i want to write a shell script which can automatically copy the original files from links within directories (and subdirectories) to a destination directory i specify.
I have no idea how to do that.
Could anybody help me???
Thanks in advance!!!