some modification on instpkg
[cmdllinux.git] / scripts / _ls_dir_solibdeps.sh
blobc98152b27dbd153a8988df40d7f69ea75f1ae264
1 if [ ! -z "$1" ]; then
2 DIR="$1"
3 [ ! -d "$DIR" ] && echo "No such directory" && exit 1
4 cd "$DIR"
5 fi
6 _readelf_libs -n | grep "^\[" | sort -u