Merge pull request #231 from tobiastom/bugfix/templates
Fixed the overlay command in Bastillefile
This commit is contained in:
@@ -132,7 +132,11 @@ for _jail in ${JAILS}; do
|
|||||||
# Allow redirection within the jail. -- cwells
|
# Allow redirection within the jail. -- cwells
|
||||||
_args="sh -c '${_args}'"
|
_args="sh -c '${_args}'"
|
||||||
;;
|
;;
|
||||||
cp)
|
overlay)
|
||||||
|
_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