fix git support for v1.5.3 (or higher) by setting "--work-tree"
[translate_toolkit.git] / convert / odfxml
blobfb1162550adf4aef1e762e8134596df241e54b72
1 #!/bin/bash
3 # Uncompresses the supplied ODF file, reflows it for easy viewing and displays
4 # the bits needed for understanding the localisable bits.
6 dest=.odf
8 mkdir -p $dest
9 unzip -q -o $1 -d $dest
10 tidy -raw -indent -modify -quiet -xml $dest/content.xml
11 tidy -raw -indent -modify -quiet -xml $dest/styles.xml
12 vim -o $dest/content.xml $dest/styles.xml