diff options
author | Titus von Boxberg <titus@v9g.de> | 2010-05-17 10:23:24 (GMT) |
---|---|---|
committer | Titus von Boxberg <titus@v9g.de> | 2010-05-17 10:23:24 (GMT) |
commit | 82af5a5d7bb3471ab7dd7cca2885b71f929dc3b0 (patch) | |
tree | 88505256af6e7ac80ede6a3ac70146116be991c8 | |
parent | 16ef145f50ed47167a7d49df2a8bb2d8feb59d0e (diff) |
configure: make call to readlink portable to non-GNU (BSD) systems
The argument '-e' for readlink is a GNU extension.
In setting the variable 'where' the argument '-e' is not necessary, thus eliminated.
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -160,7 +160,7 @@ check_for() { printf "Checking for '${item}'... " where="$( gcc -print-file-name="${item}" )" if [ "${where}" != "${item}" ]; then - where="$( readlink -e "${where}" )" + where="$( readlink "${where}" )" status=yes break; fi |