5 # The contents of this file are subject to the terms of the
6 # Common Development and Distribution License (the "License").
7 # You may not use this file except in compliance with the License.
9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 # or http://www.opensolaris.org/os/licensing.
11 # See the License for the specific language governing permissions
12 # and limitations under the License.
14 # When distributing Covered Code, include this CDDL HEADER in each
15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 # If applicable, add the following below this CDDL HEADER, with the
17 # fields enclosed by brackets "[]" replaced with your own identifying
18 # information: Portions Copyright [yyyy] [name of copyright owner]
23 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
29 # Set this to the fully-qualified path to the ACPI CA GIT directory
31 ACDIR
=/tmp
/acpica-unix-20091112
39 [ -z "$WSDIR" ] ||
{ echo "$0: error: SRCTOP not set in env" >&2; exit 1; }
41 WSSRC
=usr
/src
/uts
/intel
/io
/acpica
42 WSHDR
=arch
/x86
/include
/sys
/acpi
43 ACFILES
=/tmp
/$$.acfiles
59 cd $ACSRC ; find $SRCDIRS -type f
> $ACFILES ; cd -
62 if [[ ! -a $WSDIR/$WSSRC/$i ]]
66 if (! $DIFF $WSDIR/$WSSRC/$i $ACSRC/$i > /dev
/null
)
76 cd $ACINC ; find .
-type f
> $ACFILES ; cd -
79 if [[ ! -a $WSDIR/$WSHDR/$i ]]
83 if (! $DIFF $WSDIR/$WSHDR/$i $ACINC/$i > /dev
/null
)
119 if (! $DIFF $WSDIR/$WSSRC/changes.txt
$ACDIR/changes.txt
> /dev
/null
)
121 targ
=$WSSRC/changes.txt
122 cp $ACDIR/changes.txt
$targ
126 echo New
source files
:
128 echo New header files
: