[BACK]Return to rc CVS log [TXT][DIR] Up to [local] / src / etc

Diff for /src/etc/rc between version 1.508 and 1.509

version 1.508, 2017/07/17 12:02:53 version 1.509, 2017/07/17 18:16:14
Line 170 
Line 170 
   
         echo -n 'reordering libraries:'          echo -n 'reordering libraries:'
   
         # Only choose the latest version of the libraries.  
         for _liba in /usr/lib/lib{c,crypto}; do  
                 _libas="$_libas $(ls $_liba.so.+([0-9.]).a | sort -V | tail -1)"  
         done  
         _libas=${_libas# }  
   
         # Remount read-write, if /usr/lib is on a read-only ffs filesystem.          # Remount read-write, if /usr/lib is on a read-only ffs filesystem.
         if [[ $_mp == *' type ffs '*'read-only'* ]]; then          if [[ $_mp == *' type ffs '*'read-only'* ]]; then
                 if mount -u -w $_dkdev; then                  if mount -u -w $_dkdev; then
Line 185 
Line 179 
                         return                          return
                 fi                  fi
         fi          fi
   
           # Only choose the latest version of the libraries.
           for _liba in /usr/lib/lib{c,crypto}; do
                   _libas="$_libas $(ls $_liba.so.+([0-9.]).a | sort -V | tail -1)"
           done
           _libas=${_libas# }
   
         for _liba in $_libas; do          for _liba in $_libas; do
                 _tmpdir=$(mktemp -dq /tmp/_librebuild.XXXXXXXXXXXX) && (                  _tmpdir=$(mktemp -dq /tmp/_librebuild.XXXXXXXXXXXX) && (

Legend:
Removed from v.1.508  
changed lines
  Added in v.1.509