Renamed cp command to overlay to match the documentation.

This commit is contained in:
Tobias Tom
2020-07-27 15:06:19 +01:00
parent 5edf9cbe51
commit 24b4985371

View File

@@ -132,7 +132,8 @@ for _jail in ${JAILS}; do
# Allow redirection within the jail. -- cwells
_args="sh -c '${_args}'"
;;
cp)
overlay)
_cmd='cp'
# Convert relative "from" path into absolute path inside the template directory. -- cwells
if [ "${_args%${_args#?}}" != '/' ]; then
_args="${bastille_template}/${_args}"