From 18fc7c8309b66b328a7fce7500fbb2cf04d592ab Mon Sep 17 00:00:00 2001 From: Daniel Mannarino Date: Fri, 1 Nov 2024 10:01:57 -0400 Subject: [PATCH] Remove double parens --- batch/scripts/unify_projection.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/batch/scripts/unify_projection.sh b/batch/scripts/unify_projection.sh index 02d6dd53..dd68b7c5 100644 --- a/batch/scripts/unify_projection.sh +++ b/batch/scripts/unify_projection.sh @@ -31,11 +31,11 @@ for s in ${SRC[@]}; do mkdir -p "$reprojected_dir" cd $source_dir - for d in $((tree -dfi)); do + for d in $(tree -dfi); do mkdir -p "../${reprojected_dir}/${d}" done - for f in $((find . -iname "*.tif")); do + for f in $(find . -iname "*.tif"); do local_src_file="${source_dir}/${f}" local_warped_file="${reprojected_dir}/${f}" remote_target_file="${TARGET}/SRC_${src_count}/${f}"