mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-07 04:42:58 -05:00
workaround for sh and bsd make, fixing ticket #65
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user