mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-24 05:03:17 -05:00
workaround for sh and bsd make, fixing ticket #65
This commit is contained in:
parent
5a73c4d8c6
commit
8afa55222b
@ -24,7 +24,7 @@ AC_FUNC_SETPGRP
|
||||
if test "x$prefix" != xNONE -a "x$prefix" != "x/usr"; then
|
||||
CONFFILE="$prefix/etc/mt-daapd.conf"
|
||||
else
|
||||
if test "x$prefix" == "xNONE"; then
|
||||
if test "x$prefix" = "xNONE"; then
|
||||
CONFFILE="/usr/local/etc/mt-daapd.conf"
|
||||
else
|
||||
CONFFILE="/etc/mt-daapd.conf"
|
||||
|
@ -10,9 +10,9 @@ dbdir="/var/cache/mt-daapd"
|
||||
|
||||
mt-daapd.conf: mt-daapd.conf.templ ../config.h
|
||||
if [ "$(prefix)" = "/usr" ]; then \
|
||||
sed -e s,[@]prefix[@],$(prefix),g -e s,[@]dbdir[@],/var/cache/mt-daapd,g $< >$@; \
|
||||
sed -e s,[@]prefix[@],$(prefix),g -e s,[@]dbdir[@],/var/cache/mt-daapd,g mt-daapd.conf.templ >$@; \
|
||||
else \
|
||||
sed -e s,[@]prefix[@],$(prefix),g -e s,[@]dbdir[@],$(prefix)/var/cache/mt-daapd,g $< >$@; \
|
||||
sed -e s,[@]prefix[@],$(prefix),g -e s,[@]dbdir[@],$(prefix)/var/cache/mt-daapd,g mt-daapd.conf.templ >$@; \
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user