Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix tar arguments order in build_release.sh #103

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fi

cd $tmpdir
ex mv $dirname nvidia_peer_memory-$VERSION
ex tar czf nvidia_peer_memory-$VERSION.tar.gz nvidia_peer_memory-$VERSION --exclude=.* --exclude=build_release.sh
ex tar czf nvidia_peer_memory-$VERSION.tar.gz --exclude=.* --exclude=build_release.sh nvidia_peer_memory-$VERSION

echo
echo "Building source rpm for nvidia_peer_memory..."
Expand All @@ -52,7 +52,7 @@ echo "Building debian tarball for nvidia-peer-memory..."
ex mv nvidia_peer_memory-$VERSION nvidia-peer-memory-$VERSION
# update version in changelog
sed -i -r "0,/^(.*) \(([a-zA-Z0-9.-]+)\) (.*)/s//\1 \(${VERSION}-${RELEASE}\) \3/" nvidia-peer-memory-${VERSION}/debian/changelog
ex tar czf nvidia-peer-memory_$VERSION.orig.tar.gz nvidia-peer-memory-$VERSION --exclude=.* --exclude=build_release.sh
ex tar czf nvidia-peer-memory_$VERSION.orig.tar.gz --exclude=.* --exclude=build_release.sh nvidia-peer-memory-$VERSION
ex mv nvidia-peer-memory_$VERSION.orig.tar.gz /tmp

/bin/rm -rf $tmpdir
Expand Down