mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-02 10:49:48 +01:00
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
|
||||
_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
|
||||
if [ "${_args%${_args#?}}" != '/' ]; then
|
||||
_args="${bastille_template}/${_args}"
|
||||
|
||||
Reference in New Issue
Block a user