summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-06 00:18:32 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-06 00:18:32 +0000
commitadb57f45278de244686ba5f72d2700fecc302e12 (patch)
tree5fbed2f079c9941832e13f884e9135a37fba49d8
parentf84f150acd91c3c1c74795155d8201f1f9285c74 (diff)
downloads6-adb57f45278de244686ba5f72d2700fecc302e12.tar.xz
fix: (EXT)BINPREFIX needs an ending /. Revert bad fix in s6lock.h and ftrigr.h
-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)