aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1999-01-26 09:15:53 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1999-01-26 09:15:53 +0000
commitbdb377d73291a512818b1be0d01e6a31a1c99ef9 (patch)
tree8b83579c689c6e5343b7b489f2fd916de120cf83 /tools
parent465326b91be6e17c539f305434829955eaaff2ad (diff)
Notes
Diffstat (limited to 'tools')
-rwxr-xr-xtools/tools/upgrade/move_aout_libs.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/tools/upgrade/move_aout_libs.sh b/tools/tools/upgrade/move_aout_libs.sh
index 1a1b9065ad7e..d21a1070a1df 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.1 1998/09/09 05:28:18 jb 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.
@@ -50,6 +50,7 @@ move_file ( )
done
if test $answer = "y"; then
echo Deleting $file
+ chflags noschg $file
rm $file
else
echo "You need to move $file out of $dir because that's an elf directory"
@@ -62,6 +63,7 @@ move_file ( )
done
if test $answer = "y"; then
echo Overwriting $dir/aout/$fname with $file
+ chflags noschg $file
mv $file $dir/aout/$fname
ldconfig -R
else
@@ -70,6 +72,7 @@ move_file ( )
fi
else
echo Move $fname from $dir to $dir/aout
+ chflags noschg $file
mv $file $dir/aout/$fname
ldconfig -R
fi