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 /pbuilder-checkparams | |
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 'pbuilder-checkparams')
-rwxr-xr-x | pbuilder-checkparams | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams index 138dc4f..24b1229 100755 --- a/pbuilder-checkparams +++ b/pbuilder-checkparams @@ -56,7 +56,7 @@ while [ -n "$1" ]; do echo "E: Directory $2 does not exist" >&2 exit 1 fi - BUILDPLACE=$(readlink -f "$2"); + BUILDPLACE=$(readlink -e "$2"); shift; shift; ;; --mirror) @@ -82,7 +82,7 @@ while [ -n "$1" ]; do --buildresult) if [ -n "$2" ]; then if [ -d "$2" ]; then - BUILDRESULT=$(readlink -f "$2"); + BUILDRESULT=$(readlink -e "$2"); else echo "E: Directory $2 does not exist" >&2 exit 1 @@ -95,7 +95,7 @@ while [ -n "$1" ]; do --aptcache) if [ -n "$2" ]; then if [ -d "$2" ]; then - APTCACHE=$(readlink -f "$2"); + APTCACHE=$(readlink -e "$2"); else echo "E: Directory $2 does not exist" >&2 exit 1 @@ -142,7 +142,7 @@ while [ -n "$1" ]; do echo " -> Logging to $2" exec > "$2"; exec 2>&1 - PBUILDER_BUILD_LOGFILE=$(readlink -f "$2") + PBUILDER_BUILD_LOGFILE=$(readlink -e "$2") shift; shift; ;; --pkgname-logfile) |