diff options
author | dancer <dancer> | 2005-12-21 11:57:27 +0000 |
---|---|---|
committer | dancer <dancer> | 2005-12-21 11:57:27 +0000 |
commit | 4631c9680a0f09fe2efb347e472a51be0cab8d80 (patch) | |
tree | 873b0167b3b0fe5ce4a75eeb976ecf8898a43a7c /pbuilder-buildpackage-funcs | |
parent | fde53fc18c6c32327b8ba41edb31dac91a4f89b0 (diff) | |
download | pbuilder-4631c9680a0f09fe2efb347e472a51be0cab8d80.tar pbuilder-4631c9680a0f09fe2efb347e472a51be0cab8d80.tar.gz |
use readlink -f instead of -e.
add q-funk's script.
Diffstat (limited to 'pbuilder-buildpackage-funcs')
-rw-r--r-- | pbuilder-buildpackage-funcs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs index 69879dd..d1ead6d 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 -e "$A"; then - A=$(readlink -e "$A") + if readlink -f "$A"; then + A=$(readlink -f "$A") mv "$A" "$A"~ cp -a "$A"~ "$A" rm -f "$A"~ |