aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage-funcs
diff options
context:
space:
mode:
authordancer <dancer>2006-05-24 09:02:25 +0000
committerdancer <dancer>2006-05-24 09:02:25 +0000
commit9b44a68736399dd78eb9c04d3aba96f80ca70ac3 (patch)
treef74a35c27333695311508d6b8f954d13d1a4ce88 /pbuilder-buildpackage-funcs
parentb7c56c52272f7fd1d26efd5c8c8773307c8837c4 (diff)
downloadpbuilder-9b44a68736399dd78eb9c04d3aba96f80ca70ac3.tar
pbuilder-9b44a68736399dd78eb9c04d3aba96f80ca70ac3.tar.gz
initial cowbuilder support in pdebuild
pbuilder supports pdebuild/cowbuilder login/execute/update/create etc. can also be --login/--execute/--update/--create etc. to cater for cowbuilder documentation updates / XML typesetting fixes. manpage fixes / spellchecking generally what I did while I was on plane trip from Debconf Mexico to Japan.
Diffstat (limited to 'pbuilder-buildpackage-funcs')
-rw-r--r--pbuilder-buildpackage-funcs2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs
index 179ba67..3412bfe 100644
--- a/pbuilder-buildpackage-funcs
+++ b/pbuilder-buildpackage-funcs
@@ -70,7 +70,7 @@ function cowprotect () {
# 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
+ if readlink -f "$A" > /dev/null; then
A=$(readlink -f "$A")
mv "$A" "$A"~
cp -a "$A"~ "$A"