Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
I
inkscape-centerline-trace
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
3dmodeling
inkscape-centerline-trace
Commits
5e610a1f
Commit
5e610a1f
authored
May 15, 2016
by
Juergen Weigert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secure wrapper script against relative paths.
parent
2f43ea9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
centerline-trace.sh
centerline-trace.sh
+2
-1
No files found.
centerline-trace.sh
View file @
5e610a1f
...
@@ -3,7 +3,8 @@
...
@@ -3,7 +3,8 @@
# as a standaloine tool
# as a standaloine tool
image
=
$1
image
=
$1
test
-z
"
$image
"
&&
image
=
./testdata/kringel.png
test
-z
"
$image
"
&&
image
=
testdata/kringel.png
case
"
$image
"
in
.
*
)
;;
/
*
)
;;
*
)
image
=
./
$image
;;
esac
tmpsvg
=
/tmp/
$$
-centerline-trace-wrapper
.svg
tmpsvg
=
/tmp/
$$
-centerline-trace-wrapper
.svg
cat
<<
EOF
>
$tmpsvg
cat
<<
EOF
>
$tmpsvg
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment