From 94df833e6b52b38ac451c3be04045319991396f7 Mon Sep 17 00:00:00 2001 From: Chris Wells Date: Sat, 29 Aug 2020 19:22:26 -0400 Subject: [PATCH] Map COPY alias in Bastillefile to use cp subcommand --- usr/local/share/bastille/template.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/usr/local/share/bastille/template.sh b/usr/local/share/bastille/template.sh index b2685ea..23b42e5 100644 --- a/usr/local/share/bastille/template.sh +++ b/usr/local/share/bastille/template.sh @@ -137,6 +137,7 @@ for _jail in ${JAILS}; do _args="${bastille_template}/${_args} /" ;; cp|copy) + _cmd='cp' # Convert relative "from" path into absolute path inside the template directory. -- cwells if [ "${_args%${_args#?}}" != '/' ]; then _args="${bastille_template}/${_args}"