Map COPY alias in Bastillefile to use cp subcommand
This commit is contained in:
1 parent
3c070bf908
commit
94df833e6b
1 file changed
+1
@@ -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