summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-02-01 12:45:03 +0000
committerjkh <jkh@FreeBSD.org>1999-02-01 12:45:03 +0000
commit7daacd98cda159d17743ee40b53c7392dbc047aa (patch)
treee47d8e57f261ad2ecf21ce8757313a3e38e920bd /tools
parent97fc2dc4c819ccf2e121554bae11295d446a18cf (diff)
downloadFreeBSD-src-7daacd98cda159d17743ee40b53c7392dbc047aa.zip
FreeBSD-src-7daacd98cda159d17743ee40b53c7392dbc047aa.tar.gz
Make directories unconditionally to deal with the empty directory
case. Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/tools/upgrade/move_aout_libs.sh7
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 87e20ba..30480b6 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.
OpenPOWER on IntegriCloud