Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 425fab40ff
Fetching contributors…

Cannot retrieve contributors at this time

executable file 26 lines (21 sloc) 0.427 kb
#!/bin/bash
# Process all dia images to OUTFORMAT images.
# Usage: makeimages [lang]
# If localized image is available - uses it, else uses default one.
OUTFORMAT=png
path="."
outpath="."
for img in `find $path -name "*.dia"`
do
infile=$img
if [[ -n $1 ]]
then
tst=../$1/figures-dia/${img#$path/}
if [[ -f $tst ]]
then
infile=$tst
fi
fi
outfile=$outpath/${img%.dia}.$OUTFORMAT
dia $infile -e $outfile
done
Jump to Line
Something went wrong with that request. Please try again.