diff --git a/.metadata b/.metadata index bb2bcc8..b3b084d 100644 Binary files a/.metadata and b/.metadata differ diff --git a/.templates/bin/rotate_folder b/.templates/bin/rotate_folder index ef23546..7f74299 100755 --- a/.templates/bin/rotate_folder +++ b/.templates/bin/rotate_folder @@ -55,6 +55,8 @@ # Author: Kovács Zoltán # Kovács Zoltán # License: GNU/GPL v3+ (https://www.gnu.org/licenses/gpl-3.0.en.html) +# 2025-08-12 v1.2 +# fix: now correctly handles configuration file pathnames containing spaces. # 2025-03-06 v1.1 # new: added the --noconf option which prevents reading and creating # the configuration file. @@ -143,7 +145,7 @@ then echo -e "$MSG_BADFOLDER $BACKUP_FOLDER" >&2; exit 1; fi # Applies the configuration (if it exists and if it doesn't need to be ignored). BACKUP_CONF="$BACKUP_FOLDER/.$("$BASENAME" "$0").conf" if [ "$NOCONF" = "yes" ]; then : -elif [ -r $BACKUP_CONF ]; then . "$BACKUP_CONF" +elif [ -r "$BACKUP_CONF" ]; then . "$BACKUP_CONF" else # Warns about failure. echo -e "$MSG_NOCONF $BACKUP_CONF"