copysharedlibs.sh

来自「FreeFem++可以生成高质量的有限元网格。可以用于流体力学」· Shell 代码 · 共 25 行

SH
25
字号
#!/bin/sh# Find out which shared libs an executable needs and copy them# Antoine Le Hyaric - LJLL Paris 6 - lehyaric@ann.jussieu.fr - 22/11/04# $Id: copysharedlibs.sh,v 1.1 2004/11/22 16:00:15 lehyaric Exp $# $1=executable to analyzeif test ! -x $1then    echo $1 is not an executable    exit 1fi# $2= where to copy shared libsif test ! -d $2then    echo $2 is not a directoryfi# List all shared libslibs=`ldd $1|awk '{print $3}'`if test "$libs" != "dynamic" -a "$libs" != ""then    cp $libs $2fi

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?