diff --git a/scripts/build-nvidia-drv.sh b/scripts/build-nvidia-drv.sh index f3e22ce..1838e70 100755 --- a/scripts/build-nvidia-drv.sh +++ b/scripts/build-nvidia-drv.sh @@ -103,6 +103,9 @@ build_apps() { create_archive() { cd ${RPMBUILD_PATH}/RPMS/${ARCH}/ tar -czvf ../nvidia-drv-${NVIDIA_VERSION}.fc${FEDORA_MAJOR_VERSION}.${ARCH}.tar.gz *.fc${FEDORA_MAJOR_VERSION}.${ARCH}.rpm + export NVIDIA_VERSION=${NVIDIA_VERSION} + export FEDORA_MAJOR_VERSION=${FEDORA_MAJOR_VERSION} + export ARCH=${ARCH} } setup_rpm_build_env