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