[dpdk-stable] [scripts 2/2] 4-final-review: silence git/pushd/popd commands
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Mon Feb 22 16:01:15 CET 2021
From: Luca Boccassi <luca.boccassi at microsoft.com>
Allow to redirect the output to a file for git-send-email
---
4-final-review | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/4-final-review b/4-final-review
index 0444b1e..4aa4a75 100755
--- a/4-final-review
+++ b/4-final-review
@@ -54,15 +54,15 @@ do_commit()
{
# $GIT doesn't work, so cd
- pushd $DPDK_DIR
- git commit -a -s -m "version: ${stable_release_rc}"
+ pushd $DPDK_DIR &>/dev/null
+ git commit -a -s -m "version: ${stable_release_rc}" &>/dev/null
if [ "x$SIGN_TAG" == "xyes" ]; then
TAG_ARG="-s"
else
TAG_ARG=""
fi
git tag ${TAG_ARG} v${stable_release_rc} -a -m "dpdk-${stable_release_rc}"
- popd
+ popd &>/dev/null
}
get_shortlog()
--
2.29.2
More information about the stable
mailing list