mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-05 20:24:09 +01:00
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} /"
|
||||
;;
|
||||
cp|copy)
|
||||
_cmd='cp'
|
||||
# Convert relative "from" path into absolute path inside the template directory. -- cwells
|
||||
if [ "${_args%${_args#?}}" != '/' ]; then
|
||||
_args="${bastille_template}/${_args}"
|
||||
|
||||
Reference in New Issue
Block a user