From 771cf438e47c7396a66bcdb5fdd6ef12667c2b08 Mon Sep 17 00:00:00 2001 From: Drew Short Date: Wed, 22 Jan 2020 15:41:39 -0600 Subject: [PATCH] Fixed subdir file path --- assets/out | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/out b/assets/out index d91c5ae..b636f44 100644 --- a/assets/out +++ b/assets/out @@ -52,8 +52,8 @@ fi rclone_destination_subdir="" if [ ! -z "$rclone_destination_subdir_file" ]; then - echo "Looking in ${source}/${rclone_destination_subdir} for subdir to use" - rclone_destination_subdir=$(cat "${source}/${rclone_destination_subdir}") + echo "Looking in ${source}/${rclone_destination_subdir_file} for subdir to use" + rclone_destination_subdir=$(cat "${source}/${rclone_destination_subdir_file}" | head -n 1) fi rclone_source="local:${source}/${rclone_source_directory}"