diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1999-02-01 12:45:03 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1999-02-01 12:45:03 +0000 |
commit | cf9f8234bbc96651c0ead52e73853647b52d9269 (patch) | |
tree | a8032939f142d938d6e69935dcf8b0d1880991c9 /tools | |
parent | ff834009ea757177d32fa6e4ab0cea2b379762ce (diff) | |
download | src-cf9f8234bbc96651c0ead52e73853647b52d9269.tar.gz src-cf9f8234bbc96651c0ead52e73853647b52d9269.zip |
Make directories unconditionally to deal with the empty directory
case.
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
Notes
Notes:
svn path=/head/; revision=43495
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/tools/upgrade/move_aout_libs.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/tools/upgrade/move_aout_libs.sh b/tools/tools/upgrade/move_aout_libs.sh index 87e20baeb521..30480b63e181 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.2 1998/09/16 17:42:53 phk Exp $ +# $Id: move_aout_libs.sh,v 1.3 1999/01/26 04:13:03 jkh Exp $ # # Search for a.out libraries and move them to an aout subdirectory of # the elf library directory. @@ -110,9 +110,8 @@ move_if_aout ( ) for dir in $libdirs do # Make sure the directory exists, or ldconfig will choke later. - if test ! -d $dir; then - mkdir -p $dir $dir/aout - fi + mkdir -p $dir $dir/aout + echo "Searching library directory $dir for a.out libraries..." # Get a list of archive libraries. |