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

ldd: use /home/tux/.local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/sbin:/usr/local/bin (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 24 16:02:18 2016 +0100 (2016-01-24)
parents 9fd160a21243
children d2eb2256e8f5
line source
1 #!/bin/sh
2 #
3 # Tiny ldd fake.
4 # Copyright (C) 2010-2016 SliTaz GNU/Linux.
5 #
7 echo
8 file="$@"
9 for file do
10 file="$(which "$file")"
11 echo "$file" | sed 's%^./%%;s%$%:%'
12 LD_TRACE_LOADED_OBJECTS=1 /lib/ld-linux* "$file"
13 echo
14 done