diff options
author | njl <njl@FreeBSD.org> | 2003-12-09 03:13:37 +0000 |
---|---|---|
committer | njl <njl@FreeBSD.org> | 2003-12-09 03:13:37 +0000 |
commit | 2d068f98dbc6734e56616c618a22a0460d19e462 (patch) | |
tree | 7e7d703e0de69ee4efcdd8deba0806b0de45d69b /sys/contrib/dev/acpica/acpica_prep.sh | |
parent | f6076daf10720f6a8e51afcbb85e6c6d2d66c7b6 (diff) | |
download | FreeBSD-src-2d068f98dbc6734e56616c618a22a0460d19e462.zip FreeBSD-src-2d068f98dbc6734e56616c618a22a0460d19e462.tar.gz |
Changes to the import script to handle the compiler/debugger import.
Diffstat (limited to 'sys/contrib/dev/acpica/acpica_prep.sh')
-rwxr-xr-x | sys/contrib/dev/acpica/acpica_prep.sh | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/sys/contrib/dev/acpica/acpica_prep.sh b/sys/contrib/dev/acpica/acpica_prep.sh index a128538..ac09dc0 100755 --- a/sys/contrib/dev/acpica/acpica_prep.sh +++ b/sys/contrib/dev/acpica/acpica_prep.sh @@ -13,10 +13,14 @@ src=$1 wrk=./_acpi_ca_unpack dst=./acpi_ca_destination +# files that should keep their full directory path +fulldirs="common compiler" # files to remove -stripdirs="common compiler generate acpisrc" -stripfiles="osunixxf.c Makefile README adisasm.h acdos16.h \ - acintel.h aclinux.h acmsvc.h acwin.h acwin64.h" +stripdirs="generate acpisrc" +stripfiles="16bit.h Makefile README a16find.c a16utils.asm \ + a16utils.obj adisasm.h acdos16.h acintel.h aclinux.h \ + acmsvc.h acwin.h acwin64.h readme.txt" + # files to update paths in src_update_files="acpi.h acpiosxf.h" @@ -46,8 +50,13 @@ for i in ${stripfiles}; do find ${wrk} -name ${i} -type f -delete done +echo copying full dirs +for i in ${fulldirs}; do + find ${wrk} -name ${i} -type d | xargs -J % mv % ${dst} +done + # move files to destination -echo copy +echo copying flat dirs find ${wrk} -type f | xargs -J % mv % ${dst} mv CHANGES.txt ${dst} |