Diff of /tags/installer-simple-0_4_90_20140701_1/generate-po.sh
Parent Directory | Revision Log | Patch
trunk/installer-simple/generate-po.sh revision 2357 by niro, Mon Jan 6 12:26:01 2014 UTC | tags/installer-simple-0_4_90_20140701_1/generate-po.sh revision 2646 by niro, Wed Jul 2 11:28:56 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 |
|