mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-03 19:23:42 +01:00
Cosmetics changes to prevent double "/"
This commit is contained in:
@@ -66,7 +66,7 @@ esac
|
|||||||
for _jail in ${JAILS}; do
|
for _jail in ${JAILS}; do
|
||||||
info "[${_jail}]:"
|
info "[${_jail}]:"
|
||||||
bastille_jail_path="${bastille_jailsdir}/${_jail}/root"
|
bastille_jail_path="${bastille_jailsdir}/${_jail}/root"
|
||||||
cp "${OPTION}" "${CPSOURCE}" "${bastille_jail_path}/${CPDEST}"
|
cp "${OPTION}" "${CPSOURCE}" "${bastille_jail_path}${CPDEST}"
|
||||||
RETURN="$?"
|
RETURN="$?"
|
||||||
if [ "${TARGET}" = "ALL" ]; then
|
if [ "${TARGET}" = "ALL" ]; then
|
||||||
# Display the return status for reference
|
# Display the return status for reference
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ for _jail in ${JAILS}; do
|
|||||||
info "[${_jail}]:"
|
info "[${_jail}]:"
|
||||||
|
|
||||||
## aggregate variables into FSTAB entry
|
## aggregate variables into FSTAB entry
|
||||||
_jailpath="${bastille_jailsdir}/${_jail}/root/${_jailpath}"
|
_jailpath="${bastille_jailsdir}/${_jail}/root${_jailpath}"
|
||||||
_fstab_entry="${_hostpath} ${_jailpath} ${_type} ${_perms} ${_checks}"
|
_fstab_entry="${_hostpath} ${_jailpath} ${_type} ${_perms} ${_checks}"
|
||||||
|
|
||||||
## Create mount point if it does not exist. -- cwells
|
## Create mount point if it does not exist. -- cwells
|
||||||
|
|||||||
Reference in New Issue
Block a user