1994-09-03 23:08:40 +00:00
|
|
|
#!/bin/sh
|
|
|
|
# import sequence for file(1)
|
|
|
|
# This shell script can be used in order to handle future imports
|
|
|
|
# of newer versions of file(1)
|
|
|
|
#
|
1997-03-20 23:34:11 +00:00
|
|
|
# $Id: cvsimport.sh,v 1.3 1997/02/22 19:29:10 peter Exp $
|
1994-09-03 23:08:40 +00:00
|
|
|
if [ $# -ne 2 ] ; then
|
|
|
|
echo "usage: $0 <major> <minor>" 1>&2
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
version=$1.$2
|
|
|
|
tar xzf file-$version.tar.gz
|
|
|
|
cd file-$version
|
|
|
|
mv file.man file.1
|
|
|
|
mv magic.man magic.5
|
|
|
|
rm Magdir/Makefile
|
1997-03-20 23:34:11 +00:00
|
|
|
mv Magdir/msdos Magdir/ms-dos
|
1994-09-03 23:08:40 +00:00
|
|
|
cvs -n import src/usr.bin/file DARWIN file_$1_$2
|