|
From: Bruce S. <bw...@ar...> - 2004-03-16 13:34:29
|
> > > have some problems with copy_files... > > > perhaps someone has an idea.. util its fixed.. this patch helps... > > > > That doesn't make sense. How does going down one directory level help > > with recursive copies? It should work without the patch. What errors > > is it giving? > no error... thats the problem... > > > What's not working, what's missing? Did you check the > > permissions of the files not being copied? > > you are right, that doesnt make sense, but the copy_files didn't copy > for example the binary /usr/sbin/racoon... i wonder why racoon not start > on my devil system, and i saw, that racoon not exists.. so i look > on the build system and its not installed .... the logs looks ok... > i replaced the copy_files with the cp -pr and it works... Really weird, since copy_files is a "cp -pr" with the -f & -d options too, which should only help things. I would much rather debug this issue and find out what's happening, instead of adding more copy_file/cp commands in this one script. That's because a LOT of scripts use copy_files, we need to fix it. Can you do some debugging on copy_files? Make sure the source files really exist, put some "set -x" statements in the copy_files function to see what it's really doing, etc.? - BS |