tokkee.org
Code
projects
/
inkscape.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Partial fix for "make check" compilation failure.
[inkscape.git]
/
share
/
extensions
/
ps2dxf.sh
1
#!/bin/sh
2
3
TMPDIR="${TMPDIR-/tmp}"
4
TEMPFILENAME=`mktemp 2>/dev/null || echo "$TMPDIR/tmp-ps-$$.dxf"`
5
pstoedit -f dxf "$1" "${TEMPFILENAME}" > /dev/null 2>&1
6
rc=0
7
cat < "${TEMPFILENAME}" || rc=1
8
rm -f "${TEMPFILENAME}"
9
exit $rc
10
d