diff options
author | rillig <rillig> | 2007-09-21 13:42:54 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-09-21 13:42:54 +0000 |
commit | 1960f8c0009acd306566726662adced9d8784061 (patch) | |
tree | 1c5c5666097f6ac16ac3df766fcae288cd226b52 /shells | |
parent | 674449fe5d2bac718ba791e3795fda0cfe9af7d5 (diff) | |
download | pkgsrc-1960f8c0009acd306566726662adced9d8784061.tar.gz |
Removed code duplication by calling the client-clean script.
Before removing prefix, fix the permissions. Everything inside that
directory must be writable and all directories must be searchable.
NetBSD's chmod has an option -P which I would have liked to use, but
POSIX requires only -R to be implemented. Therefore, it is possible that
permissions of files outside the prefix are changed due to symlinks.
The client-clean program promises to clean $prefix, so fail if that is
not possible. A common cause for this is that some files inside have
their flags set (see chflags(1) on NetBSD).
When installing the bootstrap kit, the source may be either a regular
file (which is then assumed to be a tar archive) or a directory (which
is copied directly). The latter option is new and allows for easier
changes of files once the bulk build has started.
Diffstat (limited to 'shells')
0 files changed, 0 insertions, 0 deletions