Skip to content

Instantly share code, notes, and snippets.

@ladislas
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ladislas/a3189d4b5a4304b6a115 to your computer and use it in GitHub Desktop.
Save ladislas/a3189d4b5a4304b6a115 to your computer and use it in GitHub Desktop.
ttylog target destination patch
ttylog - change the install target destination from 'sbin' to 'bin' for homebrew formula
===========================================================
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,6 +22,6 @@ SET(ttylog_executable_HDRS
ADD_EXECUTABLE(ttylog ${ttylog_executable_SRCS})
# add install targets:
-INSTALL(TARGETS ttylog DESTINATION sbin)
+INSTALL(TARGETS ttylog DESTINATION bin)
# add install man page:
INSTALL(FILES ttylog.8 DESTINATION share/man/man8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment