User $PREFIX in the init file
This commit is contained in:
@@ -20,3 +20,4 @@ stamp-h1
|
||||
man/Makefile
|
||||
man/Makefile.in
|
||||
scripts/shairport-sync.service
|
||||
scripts/shairport-sync
|
||||
@@ -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.
|
||||
Reference in New Issue
Block a user