summaryrefslogtreecommitdiff
path: root/graphics/sketch
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2000-04-05 09:52:23 +0000
committerThomas Gellekum <tg@FreeBSD.org>2000-04-05 09:52:23 +0000
commitcc39a57283790bc558a5ffdfc212128c95ad8cb0 (patch)
treed8579223f37252dd7cdf9f3dc7fcca3e618355a2 /graphics/sketch
parentFix RUN_DEPENDS. (diff)
Better invocation for sketch and sk2ps.
Suggested by: Rahul Siddharthan <rsidd@physics.iisc.ernet.in>
Notes
Notes: svn path=/head/; revision=27343
Diffstat (limited to 'graphics/sketch')
-rw-r--r--graphics/sketch/files/sk2ps.in3
-rw-r--r--graphics/sketch/files/sketch.in3
2 files changed, 2 insertions, 4 deletions
diff --git a/graphics/sketch/files/sk2ps.in b/graphics/sketch/files/sk2ps.in
index a2c4142c4a08..46a48ca86953 100644
--- a/graphics/sketch/files/sk2ps.in
+++ b/graphics/sketch/files/sk2ps.in
@@ -1,4 +1,3 @@
#!/bin/sh
-cd @PREFIX@/share/sketch
-exec @PREFIX@/bin/python sk2ps.py $@
+exec @PREFIX@/bin/python @PREFIX@/share/sketch/sk2ps.py $@
diff --git a/graphics/sketch/files/sketch.in b/graphics/sketch/files/sketch.in
index f0a9637d7032..68d9f715af23 100644
--- a/graphics/sketch/files/sketch.in
+++ b/graphics/sketch/files/sketch.in
@@ -1,4 +1,3 @@
#!/bin/sh
-cd @PREFIX@/share/sketch
-exec @PREFIX@/bin/python sketch.py $@
+exec @PREFIX@/bin/python @PREFIX@/share/sketch/sketch.py $@