X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=scripts%2Ftx-sync.sh;fp=scripts%2Ftx-sync.sh;h=c60d6af060fd425f22a4e15295b7ae5c6dbd39e1;hp=0000000000000000000000000000000000000000;hb=221b0a8e10afc3f2c9148caf3cb727760a205eb8;hpb=9fe2be5f18da69d68451e51160a8dda609e82c9f diff --git a/scripts/tx-sync.sh b/scripts/tx-sync.sh new file mode 100755 index 00000000..c60d6af0 --- /dev/null +++ b/scripts/tx-sync.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash +quasselsrc=/usr/src/quassel +localpobranch=i18n-tx-sync + +pushd "$quasselsrc" && ( + currb=$(git name-rev --name-only HEAD) + git checkout -q $localpobranch && ( + EDITOR=/bin/true VISUAL=/usr/bin/editor "$quasselsrc"/po/pull-from-transifex.sh -f && + git push -q + ); git checkout -q "$currb" +); popd