This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository libx2goclient. commit 39b2bc4179652133373b8be29a61f43099aac836 Author: Mihai Moldovan <ionic@ionic.de> Date: Fri Jul 12 16:49:06 2019 +0200 update-po{,t}.sh: replace cd with pushd/popd. --- update-po.sh | 4 ++-- update-pot.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/update-po.sh b/update-po.sh index 38e5037..7137f5a 100755 --- a/update-po.sh +++ b/update-po.sh @@ -19,7 +19,7 @@ GETTEXT_DOMAIN="$(grep -E '^GETTEXT_PACKAGE=' 'configure.ac' | sed -e 's/GETTEXT cp po/${GETTEXT_DOMAIN}.pot po/${GETTEXT_DOMAIN}.pot~ -cd po/ +pushd 'po/' 1>'/dev/null' while read lingua; do if [ ! -e ${lingua}.po ]; then msginit --input=${GETTEXT_DOMAIN}.pot --locale=${lingua} --no-translator --output-file=$lingua.po @@ -33,6 +33,6 @@ while read lingua; do -e 's/\.ini\.h:/.ini:/g' \ -i ${lingua}.po done < 'LINGUAS' -cd - 1>/dev/null +popd 1>'/dev/null' mv po/${GETTEXT_DOMAIN}.pot~ po/${GETTEXT_DOMAIN}.pot diff --git a/update-pot.sh b/update-pot.sh index da96c4f..4ff6a14 100755 --- a/update-pot.sh +++ b/update-pot.sh @@ -19,7 +19,7 @@ set -x GETTEXT_DOMAIN="$(grep -E '^GETTEXT_PACKAGE=' 'configure.ac'| sed -e 's/GETTEXT_PACKAGE=//')" -cd po/ && intltool-update --gettext-package ${GETTEXT_DOMAIN} --pot && cd - 1>/dev/null +pushd 'po/' 1>'/dev/null' && intltool-update --gettext-package ${GETTEXT_DOMAIN} --pot && popd 1>'/dev/null' sed -e 's/\.xml\.in\.h:/.xml.in:/g' \ -e 's/\.ini\.in\.h:/.ini.in:/g' \ -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/libx2goclient.git