Added overlay command to be compatibile with the hooks.
This commit is contained in:
@@ -134,6 +134,9 @@ for _jail in ${JAILS}; do
|
|||||||
;;
|
;;
|
||||||
overlay)
|
overlay)
|
||||||
_cmd='cp'
|
_cmd='cp'
|
||||||
|
_args="${bastille_template}/${_args} /"
|
||||||
|
;;
|
||||||
|
cp|copy)
|
||||||
# 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