Open andy-twosticks opened 7 years ago
@andy-twosticks: what behavior do you desire and for what reason? I think I can follow what you mean, but let's make it explicit in order arrive at a solution.
Oof, that was eight months ago. I would have been perfectly happy with any behaviour that didn't give me an error?
Re-reading the above, and from what I remember, there was no existing file to overwrite, so the error was entirely spurious. /usr/src/app
was a directory, not a file. acbuild
should simply have added the given files and directories to it without complaint --- or, if there is some problem I am missing in my script, it should have given an error message that explained the problem.
By analogy if I
mkdir foo
cp -R /some/stuff/ foo/
Then I don't get an error because directory foo
exists?
It looks like I was creating the directory beforehand so that I could create a user that had it as a home directory. But I'm not sure. It was a while ago.
In my build script I have:
And then later:
Which appears to cause the following error:
Here's the whole build script: