From: Daniel Albers Date: Tue, 7 Apr 2015 19:01:52 +0000 (+0200) Subject: update-pot.sh: Fix patch call X-Git-Tag: travis-deploy-test~518 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=6ad9ac524aabfefc5050f89a53db501c9784738a update-pot.sh: Fix patch call --- diff --git a/po/update-pot.sh b/po/update-pot.sh index 9a7ecb17..bb091abd 100755 --- a/po/update-pot.sh +++ b/po/update-pot.sh @@ -9,5 +9,5 @@ quassel_pot_patch="${quassel_pot}.patch" lupdate ${src_dir} -ts ${quassel_ts} && lconvert -i ${quassel_ts} -o ${quassel_po} \ && msguniq -o ${quassel_pot} ${quassel_po} && rm ${quassel_ts} ${quassel_po} \ - && patch -Np2 < ${quassel_pot_patch} \ + && patch -d ${po_dir} -Np2 < ${quassel_pot_patch} \ && sed -i -re 's/^msgstr\[0\] ""/msgstr[0] ""\nmsgstr[1] ""/;' ${quassel_pot_patch}