Commit 62002419 authored by anonym's avatar anonym
Browse files

Use -q (quiet) instead of IO redir to /dev/null.

parent 6e8137c9
......@@ -28,7 +28,7 @@ intltool_update_po () {
if [ "${FORCE}" = yes ]; then
echo "Force-updating '${locale}.po'."
mv ${locale}.po.new ${locale}.po
elif diff_without_pot_creation_date "${locale}.po" "${locale}.po.new" >/dev/null; then
elif diff_without_pot_creation_date -q "${locale}.po" "${locale}.po.new"; then
echo "${locale}: Only header changes in PO file: keeping the old one"
rm ${locale}.po.new
else
......
......@@ -101,7 +101,7 @@ intltool_update_pot () {
if [ "${FORCE}" = yes ]; then
echo "Force-updating 'tails.pot'."
rm tails.pot.orig
elif diff_without_pot_creation_date_and_comments tails.pot.orig tails.pot >/dev/null; then
elif diff_without_pot_creation_date_and_comments -q tails.pot.orig tails.pot; then
echo "Only header or comment changes in tails.pot: keeping the old one"
mv tails.pot.orig tails.pot
else
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment