- Add sanity check for argument.

- Add new entry to stripdirs.  The `generate' directory appeared in
  acpica-unix-20020517.
This commit is contained in:
iwasaki 2002-06-12 14:55:19 +00:00
parent a13cc2f243
commit bbbd62ac9e

View File

@ -4,12 +4,17 @@
# Unpack an ACPI CA drop and restructure it to fit the FreeBSD layout
#
if [ ! $# -eq 1 ]; then
echo "usage: $0 acpica_archive"
exit
fi
src=$1
wrk=./_acpi_ca_unpack
dst=./acpi_ca_destination
# files to remove
stripdirs="compiler"
stripdirs="compiler generate"
stripfiles="osunixxf.c 16bit.h Makefile a16find.c a16utils.asm a16utils.obj\
acintel.h aclinux.h acmsvc.h acwin.h acwin64.h getopt.c"
@ -39,4 +44,4 @@ find ${wrk} -type f | xargs -J % mv % ${dst}
# post-clean
echo post-clean
rm -rf ${wrk}
rm -rf ${wrk}