Map COPY alias in Bastillefile to use cp subcommand
This commit is contained in:
@@ -137,6 +137,7 @@ for _jail in ${JAILS}; do
|
|||||||
_args="${bastille_template}/${_args} /"
|
_args="${bastille_template}/${_args} /"
|
||||||
;;
|
;;
|
||||||
cp|copy)
|
cp|copy)
|
||||||
|
_cmd='cp'
|
||||||
# Convert relative "from" path into absolute path inside the template directory. -- cwells
|
# Convert relative "from" path into absolute path inside the template directory. -- cwells
|
||||||
if [ "${_args%${_args#?}}" != '/' ]; then
|
if [ "${_args%${_args#?}}" != '/' ]; then
|
||||||
_args="${bastille_template}/${_args}"
|
_args="${bastille_template}/${_args}"
|
||||||
|
|||||||
Reference in New Issue
Block a user