git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90397
13f79535-47bb-0310-9956-
ffa450edef68
# shotgun approach: find all occurrences of the openssl program
#
ap_ssltk_try=""
- for p in /usr/local/openssl/bin /usr/local/ssl/bin $path; do
+ # The IFS=... trick eliminates the colons from $PATH, without using an external program
+ for p in /usr/local/openssl/bin /usr/local/ssl/bin `IFS=":$IFS"; echo $PATH`; do
if test -f "$p/openssl"; then
ap_ssltk_try="$ap_ssltk_try $p"
fi