Diff of /trunk/installer-simple/generate-po.sh
Parent Directory | Revision Log | Patch
revision 2357 by niro, Mon Jan 6 12:26:01 2014 UTC | revision 2496 by niro, Wed Jan 8 13:09:39 2014 UTC | |
---|---|---|
# | Line 53 unique_pot() | Line 53 unique_pot() |
53 | fi | fi |
54 | ||
55 | # remove duplicate messages | # remove duplicate messages |
56 | msguniq --unique --no-wrap --sort-by-file --output-file="${pot}.fixed" "${pot}" | msguniq --no-wrap --sort-by-file --output-file="${pot}.fixed" "${pot}" |
57 | if [[ $? = 0 ]] | if [[ $? = 0 ]] |
58 | then | then |
59 | rm "${pot}" | mv "${pot}" "${pot}.dump" |
60 | mv "${pot}.fixed" "${pot}" | cp "${pot}.fixed" "${pot}" |
61 | else | else |
62 | echo "Error: msguniq failed" | echo "Error: msguniq failed" |
63 | exit 1 | exit 1 |
|