aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-buildpackage-funcs
diff options
context:
space:
mode:
authordancer <dancer>2005-12-05 14:24:54 +0000
committerdancer <dancer>2005-12-05 14:24:54 +0000
commitd3de524b320dccb7d1e6d3dbd65dc5da1067564a (patch)
tree38c1abe706790a4819c4968fe7c43215a87a3ac2 /pbuilder-buildpackage-funcs
parente5da17475f9bcc26f815644dbf30ae38ffa78dc9 (diff)
downloadpbuilder-d3de524b320dccb7d1e6d3dbd65dc5da1067564a.tar
pbuilder-d3de524b320dccb7d1e6d3dbd65dc5da1067564a.tar.gz
Use readlink -e instead of readlink -f :
* pdebuild-user-mode-linux: * pdebuild-uml-checkparams: * pdebuild-checkparams: * pdebuild: readlink -e instead of readlink -f * pbuilder-uml-checkparams: readlink -e instead of readlink -f * pbuilder-modules: readlink -e instead of readlink -f * pbuilder-createbuildenv: quote HOOKDIR and readlink -e instead of readlink -f. * pbuilder-checkparams: * pbuilder-buildpackage: use readlink -e here. * pbuilder-buildpackage-funcs: use readlink -e instead of readlink -f. 342117 thanks to Markus Kolb
Diffstat (limited to 'pbuilder-buildpackage-funcs')
-rw-r--r--pbuilder-buildpackage-funcs4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs
index d1ead6d..69879dd 100644
--- a/pbuilder-buildpackage-funcs
+++ b/pbuilder-buildpackage-funcs
@@ -70,8 +70,8 @@ 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
- A=$(readlink -f "$A")
+ if readlink -e "$A"; then
+ A=$(readlink -e "$A")
mv "$A" "$A"~
cp -a "$A"~ "$A"
rm -f "$A"~