aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage-funcs
diff options
context:
space:
mode:
authordancer <dancer>2005-10-03 23:59:06 +0000
committerdancer <dancer>2005-10-03 23:59:06 +0000
commitb7ea12df82fd2859eb720e09804784ef5e239e38 (patch)
tree2e5d8b1d8c951d15d0b6c26890228aa73e51f67f /pbuilder-buildpackage-funcs
parent48d9b569689392c5a24f79cf31279118297ae6d5 (diff)
downloadpbuilder-b7ea12df82fd2859eb720e09804784ef5e239e38.tar
pbuilder-b7ea12df82fd2859eb720e09804784ef5e239e38.tar.gz
add a note on cowprotect func
Diffstat (limited to 'pbuilder-buildpackage-funcs')
-rw-r--r--pbuilder-buildpackage-funcs3
1 files changed, 2 insertions, 1 deletions
diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs
index fb888e8..c6cbc59 100644
--- a/pbuilder-buildpackage-funcs
+++ b/pbuilder-buildpackage-funcs
@@ -67,7 +67,8 @@ function showbuildbanner () {
}
function cowprotect () {
- # a hack for cowdancer
+ # a hack for cowdancer, used when a file is edited in-place;
+ # Copy the file to create a new i-node so that hardlinked original is intact
for A in "$@"; do
if readlink -f "$A"; then
A=$(readlink -f "$A")