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

libtaz.sh: add (and use) short gettext aliases: _ and _n
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 09 15:38:43 2013 +0300 (2013-08-09)
parents 4a0b818014d8
children 793c2b7ed97f
line source
1 #!/bin/sh
2 #
3 # Tiny ldd fake.
4 # Copyright (C) 2010-2012 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