9923bfe01f86dd4fad817029aa59bece8527e1c3
Unquoted expansion of $progArgs let the shell expand patterns like '*.log' against the current working directory (e.g. /root for the cronjob). Matching files became extra rsync source arguments, which broke backups of remote hosts with 'Unexpected remote arg'. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# - Convert host files and rcopy.conf file created on # - rcopy SVN versions eralier than revision 50 # - cd /root/crontab/rcopy sed -i '/^default_config_file=/d' hosts/*.sh sed -i '/^rcopy_functions_file=/d' hosts/*.sh perl -i -n -p -e "s#\.\s+\\\$default_config_file.*#. \\\$rcopy_conf_file#" hosts/*.sh perl -i -n -p -e "s#^crontab_base_dir=.*#crontab_base_dir=\\\$rcopy_base_dir#" conf/rcopy.conf
Languages
Shell
100%