![]() | :: | Software | :: | build |
build-borrow file ...where file is a filename.
Before doing any work, build-borrow changes the working directory to src. Run it from the top-level directory in your project.
For each file, build-borrow looks for file in each directory in the borrow path, and copies into the current directory the first one it finds. If it cannot find file or encounters a copying error, build-borrow complains and exits nonzero. If it succeeds in copying file, build-borrow processes the next argument, exiting 0 after exhausting the argument list.
The borrow path is taken from the file conf-borrow. Directories are listed one per line, and the first empty line ends the list. Anything following the first empty line is ignored.
If conf-borrow does not exist, then build-borrow obtains the borrow path from /package/host/superscript.com/prog/build/conf/borrow.