Mellanox / nv_peer_memory

292 stars 60 forks source link

fix tar arguments order in build_release.sh #103

Open gpapaure opened 2 years ago

gpapaure commented 2 years ago

Currently, on rhel8, the build_release.sh script is producing the error :

tar: The following options were used after any non-optional arguments in archive create or update mode.  These options are positional and affect only arguments that follow them.  Please, rearrange them properly.
tar: --exclude '.*' has no effect
tar: --exclude 'build_release.sh' has no effect
tar: Exiting with failure status due to previous errors
Failed to execute: tar czf nvidia_peer_memory-1.2.tar.gz nvidia_peer_memory-1.2 --exclude=.* --exclude=build_release.sh

This commit is using the right order