Magellan Linux

Diff of /trunk/openssl-c_rehash/openssl-c_rehash.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2875 by niro, Wed Jul 29 07:35:57 2015 UTC revision 2876 by niro, Wed Jul 29 07:37:48 2015 UTC
# Line 167  hash_dir() Line 167  hash_dir()
167  # choose the name of an ssl application  # choose the name of an ssl application
168  if [ -n "${OPENSSL}" ]  if [ -n "${OPENSSL}" ]
169  then  then
170      SSL_CMD=$(which ${OPENSSL} 2>/dev/null)      SSL_CMD=$(type -P ${OPENSSL})
171  else  else
172      SSL_CMD=/usr/bin/openssl      SSL_CMD=/usr/bin/openssl
173      OPENSSL=${SSL_CMD}      OPENSSL=${SSL_CMD}

Legend:
Removed from v.2875  
changed lines
  Added in v.2876