diff options
author | dancer <dancer> | 2005-12-05 14:24:54 +0000 |
---|---|---|
committer | dancer <dancer> | 2005-12-05 14:24:54 +0000 |
commit | d3de524b320dccb7d1e6d3dbd65dc5da1067564a (patch) | |
tree | 38c1abe706790a4819c4968fe7c43215a87a3ac2 /pdebuild-user-mode-linux | |
parent | e5da17475f9bcc26f815644dbf30ae38ffa78dc9 (diff) | |
download | pbuilder-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 '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 77e4af8..ce0b7e6 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 -f .. ]; then + if [ ! readlink -e .. ]; then echo "E: Cannot find .. dir from PWD=$(pwd)" exit 1 fi - pbuilder-user-mode-linux execute "$@" --bindmounts $(readlink -f ..) /usr/lib/pbuilder/pdebuild-internal ${PWD} --debbuildopts "${DEBBUILDOPTS}" + pbuilder-user-mode-linux execute "$@" --bindmounts $(readlink -e ..) /usr/lib/pbuilder/pdebuild-internal ${PWD} --debbuildopts "${DEBBUILDOPTS}" else if ! dpkg-checkbuilddeps -B; then echo "W: Unmet build-dependency in source" |