mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 01:16:28 -04:00
31 lines
789 B
Bash
31 lines
789 B
Bash
--- yaze.sh.orig 2015-04-26 14:15:29 UTC
|
|
+++ yaze.sh
|
|
@@ -1,9 +1,10 @@
|
|
#!/bin/sh
|
|
|
|
-S_YAZEFILES=/usr/local/lib/yaze
|
|
-S_CPMDSKS=/usr/local/lib/yaze/disks
|
|
-S_DOCFILES=/usr/local/lib/yaze/doc
|
|
-S_DOCFILES_html=/usr/local/lib/yaze/doc_html
|
|
+S_YAZEEXECDIR=/usr/local/libexec
|
|
+S_YAZEFILES=/usr/local/share/yaze-ag
|
|
+S_CPMDSKS=/usr/local/share/yaze-ag/disks
|
|
+S_DOCFILES=/usr/local/share/doc/yaze-ag
|
|
+S_DOCFILES_html=/usr/local/share/doc/yaze-ag/html
|
|
|
|
if [ ! -f .yazerc ]
|
|
then
|
|
@@ -80,10 +81,10 @@ echo pwd=`pwd`
|
|
echo
|
|
echo pwd=`pwd`
|
|
|
|
-if [ -f yaze_bin ]
|
|
+if [ -f $S_YAZEEXECDIR/yaze_bin ]
|
|
then
|
|
- echo "starting ./yaze_bin $*"
|
|
- exec ./yaze_bin $*
|
|
+ echo "starting $S_YAZEEXECDIR/yaze_bin $*"
|
|
+ exec $S_YAZEEXECDIR/yaze_bin $*
|
|
else
|
|
echo "starting yaze_bin $*"
|
|
exec yaze_bin $*
|