summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Mitchell <kevmitch@gmail.com>2014-09-25 14:18:18 -0700
committerKevin Mitchell <kevmitch@gmail.com>2014-09-25 14:18:18 -0700
commit6746c968347b2ffdf2484d83ccf7edb75ac1065b (patch)
treeba8c4743704cd62caff7a69997a0b38ce0700c65
parentb5bd4ad24a9374d562d2f8e6b84505dfc251bcb2 (diff)
downloadmpv-build-6746c968347b2ffdf2484d83ccf7edb75ac1065b.tar.bz2
mpv-build-6746c968347b2ffdf2484d83ccf7edb75ac1065b.tar.xz
redirect cd stdout to null in debian-update-versions
-rwxr-xr-xscripts/debian-update-versions4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/debian-update-versions b/scripts/debian-update-versions
index bea6ce4..e196a39 100755
--- a/scripts/debian-update-versions
+++ b/scripts/debian-update-versions
@@ -3,7 +3,7 @@
get_version()
{
(
- cd $1
+ cd $1 > /dev/null
VERSION=$(git describe --tags | sed 's/^[^0-9]*//')
echo 1:${VERSION}
)
@@ -12,7 +12,7 @@ get_version()
get_timestamp_commit()
{
(
- cd $1
+ cd $1 > /dev/null
TIMESTAMP=$(git log -1 --date=short --format=%cd | sed 's/-/./g')
COMMIT=$(git rev-parse --short HEAD)
echo 2:${TIMESTAMP}.${COMMIT}