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-checkparams | |
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-checkparams')
-rwxr-xr-x | pbuilder-checkparams | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pbuilder-checkparams b/pbuilder-checkparams index 24b1229..138dc4f 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 -e "$2"); + BUILDPLACE=$(readlink -f "$2"); shift; shift; ;; --mirror) @@ -82,7 +82,7 @@ while [ -n "$1" ]; do --buildresult) if [ -n "$2" ]; then if [ -d "$2" ]; then - BUILDRESULT=$(readlink -e "$2"); + BUILDRESULT=$(readlink -f "$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 -e "$2"); + APTCACHE=$(readlink -f "$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 -e "$2") + PBUILDER_BUILD_LOGFILE=$(readlink -f "$2") shift; shift; ;; --pkgname-logfile) |