[BACK]Return to dgl-create-chroot CVS log [TXT][DIR] Up to [contributed] / dgamelaunch-openbsd

Diff for /dgamelaunch-openbsd/dgl-create-chroot between version 1.1 and 1.3

version 1.1, 2021/03/09 14:36:01 version 1.3, 2021/03/09 15:39:32
Line 39  errorexit()
Line 39  errorexit()
 findlibs()  findlibs()
 {  {
   for i in "$@"; do    for i in "$@"; do
       if [ -z "`ldd "$i" | grep 'not a dynamic executable'`" ]; then        if [ -z "`ldd "$i" | grep 'not a'`" ]; then
          echo $(ldd "$i" | awk '{ print $3 }' | egrep -v ^'\(')          if test $(uname -s) == OpenBSD; then
             echo $(ldd "$i" | awk '{ print $7 }' | egrep -v ^'\(') | cut -d ' ' -f 3-
           else
            echo $(ldd "$i" | awk '{ print $3 }' | egrep -v ^'\(')
          echo $(ldd "$i" | grep 'ld-linux' | awk '{ print $1 }')           echo $(ldd "$i" | grep 'ld-linux' | awk '{ print $1 }')
           fi
       fi        fi
   done    done
 }  }
Line 123  fi
Line 127  fi
   
 mkdir -p dev  mkdir -p dev
 cd dev  cd dev
 mknod urandom c 1 9  if test $(uname -s) == OpenBSD; then
     mknod urandom c 45 0
   else
     mknod urandom c 1 9
   fi
 cd ..  cd ..
   
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

CVSweb