forked from ungleich-public/ccollect
Create destination on real path
This commit is contained in:
parent
8490b77acf
commit
e71146dbbf
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,6 @@
|
|||
0.6 to 0.6.1:
|
||||
* Added check for destination_base in add_ccollect_source.sh
|
||||
|
||||
0.5.2 to 0.6:
|
||||
* Always print return code of rsync
|
||||
* Add much more timing information
|
||||
|
|
|
@ -89,8 +89,13 @@ while [ $# -gt 0 ]; do
|
|||
echo "${source_source}" > "${fullname}/source"
|
||||
|
||||
# create destination directory
|
||||
dest="${destination_base}/${source}"
|
||||
_echo "Creating destination ${dest} ..."
|
||||
_echo "Creating destination ..."
|
||||
|
||||
absbase=$(cd "${destination_base}" 2>/dev/null && pwd -P) || \
|
||||
_exit_err "${destination_base} should exist before creating sources."
|
||||
|
||||
dest="${absbase}/${source}"
|
||||
_echo "Creating ${dest} ..."
|
||||
mkdir -p "${dest}" || _exit_err "${dest}: Cannot create."
|
||||
|
||||
# link destination directory
|
||||
|
|
Loading…
Reference in a new issue