diff options
Diffstat (limited to 'testsuite/movelibs.sh')
-rwxr-xr-x | testsuite/movelibs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/movelibs.sh b/testsuite/movelibs.sh index 38fc58b..137d7ef 100755 --- a/testsuite/movelibs.sh +++ b/testsuite/movelibs.sh @@ -6,9 +6,9 @@ $CXX -o movelibs movelibs.C > syslib.list > syslnk.list for i in `ldd ./movelibs | awk ' { print $3 } '`; do + k=`basename $i` if [ -L $i ]; then j=`ls -l $i | sed 's/^.* -> //'` - k=`basename $i` if echo $j | grep / >/dev/null 2>&1; then cp -p $i . cp -p $k $k.orig |