Magellan Linux

Diff of /trunk/mage/usr/lib/mage/search_soname.sh

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

revision 1643 by niro, Fri Jan 13 18:42:36 2012 UTC revision 1644 by niro, Fri Jan 13 18:45:35 2012 UTC
# Line 4  SCANELF="scanelf -nyRB" Line 4  SCANELF="scanelf -nyRB"
4  SONAME="$1"  SONAME="$1"
5  BINDIR="$2"  BINDIR="$2"
6    
7    if [[ -z ${SONAME} ]]
8    then
9     echo "No soname given!"
10     exit 1
11    fi
12    
13  if [[ -z ${BINDIR} ]]  if [[ -z ${BINDIR} ]]
14  then  then
15   # use scanelf opts to scan everything in path/ldpath   # use scanelf opts to scan everything in path/ldpath

Legend:
Removed from v.1643  
changed lines
  Added in v.1644