summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure8
-rw-r--r--src/include/s6/ftrigr.h2
-rw-r--r--src/include/s6/s6lock.h4
3 files changed, 7 insertions, 7 deletions
diff --git a/configure b/configure
index 60751c8..50daaea 100755
--- a/configure
+++ b/configure
@@ -371,13 +371,13 @@ cat <<EOF
#define ${package_macro_name}_VERSION "$version"
EOF
if $slashpackage ; then
- echo "#define ${package_macro_name}_BINPREFIX \"$binprefix\""
- echo "#define ${package_macro_name}_EXTBINPREFIX \"$extbinprefix\""
- echo "#define ${package_macro_name}_LIBEXECPREFIX \"$binprefix\""
+ echo "#define ${package_macro_name}_BINPREFIX \"$binprefix/\""
+ echo "#define ${package_macro_name}_EXTBINPREFIX \"$extbinprefix/\""
+ echo "#define ${package_macro_name}_LIBEXECPREFIX \"$binprefix/\""
else
echo "#define ${package_macro_name}_BINPREFIX \"\""
echo "#define ${package_macro_name}_EXTBINPREFIX \"\""
- echo "#define ${package_macro_name}_LIBEXECPREFIX \"$libexecdir\""
+ echo "#define ${package_macro_name}_LIBEXECPREFIX \"$libexecdir/\""
fi
echo
echo "#endif"
diff --git a/src/include/s6/ftrigr.h b/src/include/s6/ftrigr.h
index e7c8b0c..942a40a 100644
--- a/src/include/s6/ftrigr.h
+++ b/src/include/s6/ftrigr.h
@@ -17,7 +17,7 @@
#define FTRIGR_IPCPATH SKALIBS_SPROOT "/service/ftrigrd/s"
-#define FTRIGRD_PROG S6_BINPREFIX "/s6-ftrigrd"
+#define FTRIGRD_PROG S6_BINPREFIX "s6-ftrigrd"
#define FTRIGR_BANNER1 "ftrigr v1.0 (b)\n"
#define FTRIGR_BANNER1_LEN (sizeof FTRIGR_BANNER1 - 1)
#define FTRIGR_BANNER2 "ftrigr v1.0 (a)\n"
diff --git a/src/include/s6/s6lock.h b/src/include/s6/s6lock.h
index a44d80a..03fb7d3 100644
--- a/src/include/s6/s6lock.h
+++ b/src/include/s6/s6lock.h
@@ -14,8 +14,8 @@
/* Constants */
-#define S6LOCKD_PROG S6_BINPREFIX "/s6lockd"
-#define S6LOCKD_HELPER_PROG S6_BINPREFIX "/s6lockd-helper"
+#define S6LOCKD_PROG S6_BINPREFIX "s6lockd"
+#define S6LOCKD_HELPER_PROG S6_BINPREFIX "s6lockd-helper"
#define S6LOCK_BANNER1 "s6lock v1.0 (b)\n"
#define S6LOCK_BANNER1_LEN (sizeof S6LOCK_BANNER1 - 1)