diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1999-04-05 21:41:56 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1999-04-05 21:41:56 +0000 |
| commit | 29fcf344ff43b06a19b6e1dc534843853aa521b3 (patch) | |
| tree | 1d7e88e57745699610e72424a0ea2564fc932b33 /tools | |
| parent | 8d17e69460958f683941c24ad375d150dc3bcb5c (diff) | |
Notes
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 30480b63e181..7d9600ffbb60 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 |
