diff options
| author | Ralf Stephan <ralf@ark.in-berlin.de> | 2006-07-04 06:56:15 +0000 |
|---|---|---|
| committer | rwst <rwst@users.sourceforge.net> | 2006-07-04 06:56:15 +0000 |
| commit | 36fba76556255c0eaad6f324d7f82f28b16c4435 (patch) | |
| tree | 6c08d0fde4918c5fce2c418a2a21b24fb5859e69 /share/extensions | |
| parent | Fix include file (<ieeefp.h>, not <ieefp.h>). (diff) | |
| download | inkscape-36fba76556255c0eaad6f324d7f82f28b16c4435.tar.gz inkscape-36fba76556255c0eaad6f324d7f82f28b16c4435.zip | |
replace long with short option in dia call, supposedly fixes #1516723
(bzr r1350)
Diffstat (limited to 'share/extensions')
| -rwxr-xr-x | share/extensions/dia2svg.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/extensions/dia2svg.sh b/share/extensions/dia2svg.sh index 48403d0b5..0e3155f59 100755 --- a/share/extensions/dia2svg.sh +++ b/share/extensions/dia2svg.sh @@ -4,9 +4,10 @@ rc=0 # dia version 0.93 (the only version I've tested) allows `--export=-', but then # ruins it by writing other cruft to stdout. So we'll have to use a temp file. +# dia 0.95 removes --export-to-format but still allows -t. TMPDIR="${TMPDIR-/tmp}" TEMPFILENAME=`mktemp 2>/dev/null || echo "$TMPDIR/tmpdia$$.svg"` -dia -n --export="${TEMPFILENAME}" --export-to-format=svg "$1" > /dev/null 2>&1 || rc=1 +dia -n --export="${TEMPFILENAME}" -t svg "$1" > /dev/null 2>&1 || rc=1 cat < "${TEMPFILENAME}" || rc=1 rm -f "${TEMPFILENAME}" |
