slitaz-base-files view rootfs/usr/bin/ldd @ rev 283

libtaz.sh: do not itemize for gtk output
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Aug 18 19:04:10 2015 +0300 (2015-08-18)
parents b2311939ad7e
children 967cede25fb4
line source
1 #!/bin/sh
2 #
3 # Tiny ldd fake.
4 # Copyright (C) 2010-2014 SliTaz GNU/Linux.
5 #
7 echo ""
8 file="$@"
9 for file do
10 case $file in
11 */*) : ;;
12 *) file=./$file ;;
13 esac
14 echo "$file:" | sed 's%^./%%'
15 LD_TRACE_LOADED_OBJECTS=1 /lib/ld*.so "$file"
16 echo ""
17 done