Skip to content

Commit

Permalink
Fix langpack generation after 'trunk' branch deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
yadij committed Jan 28, 2017
1 parent 6c12d87 commit 0b696b9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions mksnapshot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ if (groff --help >/dev/null); then
fi

# Generate language-pack tarballs
# NP: Only to be done on trunk.
if test "${tag}" = "trunk" ; then
sh -c "cd ${tmpdir}/errors && tar -zcf ${PWD}/${PACKAGE}-${VERSION}-${suffix}-langpack.tar.gz ./*/* ./alias* ./TRANSLATORS ./COPYRIGHT "
echo ${PACKAGE}-${VERSION}-${suffix}-langpack.tar.gz >>${tag}.out
fi
# NP: Only useful on development branch
sh -c "cd ${tmpdir}/errors && tar -zcf ${PWD}/${PACKAGE}-${VERSION}-${suffix}-langpack.tar.gz ./*/* ./alias* ./TRANSLATORS ./COPYRIGHT "
echo ${PACKAGE}-${VERSION}-${suffix}-langpack.tar.gz >>${tag}.out

0 comments on commit 0b696b9

Please sign in to comment.