User $PREFIX in the init file

This commit is contained in:
dan carter
2015-12-23 12:55:25 +13:00
parent cd03560214
commit 935160180a
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -20,3 +20,4 @@ stamp-h1
man/Makefile
man/Makefile.in
scripts/shairport-sync.service
scripts/shairport-sync
+1
View File
@@ -256,4 +256,5 @@ AC_FUNC_REALLOC
AC_CHECK_FUNCS([atexit clock_gettime gethostname inet_ntoa memchr memmove memset mkfifo pow select socket stpcpy strcasecmp strchr strdup strerror strstr strtol strtoul])
AC_CONFIG_FILES([Makefile man/Makefile scripts/shairport-sync.service])
AC_CONFIG_FILES([scripts/shairport-sync],[chmod +x scripts/shairport-sync])
AC_OUTPUT
@@ -17,7 +17,7 @@
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="AirPlay Synchronous Audio Service"
NAME=shairport-sync
DAEMON=/usr/local/bin/$NAME
DAEMON=@prefix@/bin/$NAME
# We don't use the DAEMON_ARGS variable here because some of the identifiers may have spaces in them, and so are
# impossible to pass as arguments.