5 while getopts "a:k:n:t:v:" opt
; do
16 if [ -z "${arch}" ] || [ -z "${kver}" ] || [ -z "${pkgname}" ] || \
17 [ -z "${tree}" ] || [ -z "${pkgver}" ] || [ -n "${err}" ]; then
18 echo "Usage: $PROG -a <arch> -k <kver> -n <pkgname>" \
19 "-t <tree> -v <pkgver>"
23 exec cp "${tree}/${pkgname}/${pkgver}/build/zfs_config.h" \
24 "${tree}/${pkgname}/${pkgver}/build/module/Module.symvers" \
25 "${tree}/${pkgname}/${pkgver}/${kver}/${arch}/"