summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2010-07-15 11:55:26 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2010-07-15 11:55:26 +0100
commitd3b83d00fec0d9cb8899affd6cca94b3f5ca1bac (patch)
tree54eddd3c2f629e99fd6f0ca565cafc65ddffb649
parent7afc8c62d4aa9e9c1ef5ac0b3c295c6adbc1f785 (diff)
new-release: make it possible to skip po update
-rwxr-xr-xbin/new-release12
1 files changed, 7 insertions, 5 deletions
diff --git a/bin/new-release b/bin/new-release
index cf7255fc..1ac0e0f2 100755
--- a/bin/new-release
+++ b/bin/new-release
@@ -239,11 +239,13 @@ fi
if test -d $moduledir/po
then
- echo "Press Enter to commit updates to .po files"
- read
- pushd $moduledir > /dev/null 2>&1
- git commit -m "Update .po files" po/*.po
- popd
+ echo "Press Enter to commit updates to .po files (or enter 'no' to skip)"
+ read do_commit
+ if test "x$do_commit" != "xno"; then
+ pushd $moduledir > /dev/null 2>&1
+ git commit -m "Update .po files" po/*.po
+ popd
+ fi
fi
cd $moduledir