From 9b44a68736399dd78eb9c04d3aba96f80ca70ac3 Mon Sep 17 00:00:00 2001 From: dancer Date: Wed, 24 May 2006 09:02:25 +0000 Subject: 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. --- pbuilder-buildpackage-funcs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pbuilder-buildpackage-funcs') 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" -- cgit v1.2.3