diff options
author | jkh <jkh@FreeBSD.org> | 1999-04-05 21:41:56 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1999-04-05 21:41:56 +0000 |
commit | 497b1002518bc8933472ebbd3f7851a75f1b75cc (patch) | |
tree | 174a12d66c92fde7000b0ddb57132da4345b725b /tools | |
parent | 0ed09d2ad576c0a64797f8ca9bebd32873f770ae (diff) | |
download | FreeBSD-src-497b1002518bc8933472ebbd3f7851a75f1b75cc.zip FreeBSD-src-497b1002518bc8933472ebbd3f7851a75f1b75cc.tar.gz |
Move the proper set of libraries.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/tools/upgrade/move_aout_libs.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/tools/upgrade/move_aout_libs.sh b/tools/tools/upgrade/move_aout_libs.sh index 30480b6..7d9600f 100755 --- a/tools/tools/upgrade/move_aout_libs.sh +++ b/tools/tools/upgrade/move_aout_libs.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: move_aout_libs.sh,v 1.3 1999/01/26 04:13:03 jkh Exp $ +# $Id: move_aout_libs.sh,v 1.4 1999/02/01 12:45:03 jkh Exp $ # # Search for a.out libraries and move them to an aout subdirectory of # the elf library directory. @@ -96,7 +96,7 @@ move_if_aout ( ) filemagic=`file $file` # Check if the file is an a.out library - if test "$filemagic" = "$file: $aoutmagic"; then + if expr "$filemagic" : ".*$aoutmagic"; then # Move the a.out library move_file fi @@ -127,7 +127,7 @@ do files=`ls $dir/*.so.*.* 2> /dev/null` # a.out shared libraries look like this: - aoutmagic="FreeBSD/i386 compact demand paged shared library not stripped" + aoutmagic="FreeBSD/i386 compact demand paged shared library" # Move each a.out shared library: move_if_aout |