/usr/bin/csp_install is in caspar 20170830-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #!/bin/sh
# This file is maintained at http://git.mdcc.cx/caspar
# csp_install - wrapper for install(1), to be used in caspar-ized Makefiles
#
# usage: csp_install <directory> <file>
#
# honors optionally set environment variable csp_INSTALL_OPTIONS.
# use e.g.
# export csp_INSTALL_OPTIONS='--owner=www-data --group=www-data'
#
# Generally, this script is to be used by stating e.g.
#
# csp_UHOST = dummy
# csp_PUSH = $(csp_install_FUNC)
# csp_DIR = /etc/
# include caspar/mk/caspar.mk
#
# in a Makefile
: ${csp_INSTALL_MODE:=u=rw,go=r}
install --directory $1
exec install --backup=off --preserve-timestamps --mode=$csp_INSTALL_MODE --no-target-directory $csp_INSTALL_OPTIONS $2 $1/$2
|