mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-03 01:46:02 -05:00
tenative fix for ticket #65 -- == operator, vs = for /bin/sh != bash
This commit is contained in:
parent
48dba7a057
commit
15edcf0670
@ -9,7 +9,7 @@ bin_SCRIPTS=mt-daapd-ssc.sh
|
||||
dbdir="/var/cache/mt-daapd"
|
||||
|
||||
mt-daapd.conf: mt-daapd.conf.templ ../config.h
|
||||
if [ "$(prefix)" == "/usr" ]; then \
|
||||
if [ "$(prefix)" = "/usr" ]; then \
|
||||
sed -e s,[@]prefix[@],$(prefix),g -e s,[@]dbdir[@],/var/cache/mt-daapd,g $< >$@; \
|
||||
else \
|
||||
sed -e s,[@]prefix[@],$(prefix),g -e s,[@]dbdir[@],$(prefix)/var/cache/mt-daapd,g $< >$@; \
|
||||
|
Loading…
x
Reference in New Issue
Block a user