diff options
author | rafan <rafan@FreeBSD.org> | 2007-08-15 14:07:05 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2007-08-15 14:07:05 +0800 |
commit | 9a5ab744fa2752ce2ecfc1970aa5b1fbeb1103ba (patch) | |
tree | 3067645ea5aa092708c19a0526fcb15c6e4638a7 /net | |
parent | f9485c0a304d48efd421c31066e43b6395953816 (diff) | |
download | freebsd-ports-gnome-9a5ab744fa2752ce2ecfc1970aa5b1fbeb1103ba.tar.gz freebsd-ports-gnome-9a5ab744fa2752ce2ecfc1970aa5b1fbeb1103ba.tar.zst freebsd-ports-gnome-9a5ab744fa2752ce2ecfc1970aa5b1fbeb1103ba.zip |
- Use DATADIR macro in rc script as in we do in Makefile
Noticed by: sat
Approved by: maintainer via mail
Diffstat (limited to 'net')
-rw-r--r-- | net/ris/files/binlsrv.sh.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ris/files/binlsrv.sh.in b/net/ris/files/binlsrv.sh.in index 333bad56e57b..97a7bf38ded1 100644 --- a/net/ris/files/binlsrv.sh.in +++ b/net/ris/files/binlsrv.sh.in @@ -21,11 +21,11 @@ load_rc_config "${name}" # Set defaults : ${binlsrv_enable:="NO"} -: ${binlsrv_infdir:="%%PREFIX%%/share/ris/inf"} +: ${binlsrv_infdir:="%%DATADIR%%/inf"} pidfile="%%PID_FILE%%" command="%%PYTHON_CMD%%" -command_args="%%PREFIX%%/share/ris/${name}.py -d" +command_args="%%DATADIR%%/${name}.py -d" required_dirs="$binlsrv_infdir" start_precmd="binlsrv_start_precmd" |