将程序的依赖库拷贝出来
deplist=$( ldd $1 | awk '{if (match($3,"/")){ print $3}}' )
cp $deplist $2
posted on 2015-05-02 09:43 okgogo2000 阅读(230) 评论(0) 编辑 收藏 举报
deplist=$( ldd $1 | awk '{if (match($3,"/")){ print $3}}' )
cp $deplist $2
posted on 2015-05-02 09:43 okgogo2000 阅读(230) 评论(0) 编辑 收藏 举报