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 /pdebuild-user-mode-linux | |
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 'pdebuild-user-mode-linux')
-rw-r--r-- | pdebuild-user-mode-linux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pdebuild-user-mode-linux b/pdebuild-user-mode-linux index ce0b7e6..77e4af8 100644 --- a/pdebuild-user-mode-linux +++ b/pdebuild-user-mode-linux @@ -36,11 +36,11 @@ ARCHITECTURE=$(dpkg-architecture -qDEB_HOST_ARCH) if [ "${USE_PDEBUILD_INTERNAL}" = 'yes' ]; then - if [ ! readlink -e .. ]; then + if [ ! readlink -f .. ]; then echo "E: Cannot find .. dir from PWD=$(pwd)" exit 1 fi - pbuilder-user-mode-linux execute "$@" --bindmounts $(readlink -e ..) /usr/lib/pbuilder/pdebuild-internal ${PWD} --debbuildopts "${DEBBUILDOPTS}" + pbuilder-user-mode-linux execute "$@" --bindmounts $(readlink -f ..) /usr/lib/pbuilder/pdebuild-internal ${PWD} --debbuildopts "${DEBBUILDOPTS}" else if ! dpkg-checkbuilddeps -B; then echo "W: Unmet build-dependency in source" |