diff options
author | Kevin Mitchell <kevmitch@gmail.com> | 2014-09-25 14:18:18 -0700 |
---|---|---|
committer | Kevin Mitchell <kevmitch@gmail.com> | 2014-09-25 14:18:18 -0700 |
commit | 6746c968347b2ffdf2484d83ccf7edb75ac1065b (patch) | |
tree | ba8c4743704cd62caff7a69997a0b38ce0700c65 | |
parent | b5bd4ad24a9374d562d2f8e6b84505dfc251bcb2 (diff) | |
download | mpv-build-6746c968347b2ffdf2484d83ccf7edb75ac1065b.tar.bz2 mpv-build-6746c968347b2ffdf2484d83ccf7edb75ac1065b.tar.xz |
redirect cd stdout to null in debian-update-versions
-rwxr-xr-x | scripts/debian-update-versions | 4 |
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} |