Skip to content

Commit

Permalink
Update build-nvidia-drv.sh
Browse files Browse the repository at this point in the history
Export environment variables
  • Loading branch information
Perpixel authored Oct 3, 2024
1 parent a200a1c commit 6e6bd15
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/build-nvidia-drv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e6bd15

Please sign in to comment.