Skip to content

Commit

Permalink
Fix unify script by pre-making dirs
Browse files Browse the repository at this point in the history
  • Loading branch information
dmannarino committed Oct 31, 2024
1 parent 1b4dd60 commit 92b7c96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions batch/scripts/_warp_and_upload.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

set -e

# arguments:
# $0 - The name of this script
# $1 - remote_src_file
Expand Down
4 changes: 3 additions & 1 deletion batch/scripts/unify_projection.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/bash

set -e
set -x

# requires arguments
# -s | --source
Expand All @@ -23,6 +22,9 @@ src_count=0
CMD_ARGS=()

for s in ${SRC}; do
mkdir -p "SRC_${src_count}"
mkdir -p "REPROJECTED_${src_count}"

for f in ${files}; do
remote_src_file=${s}/${f}
local_src_file=SRC_${src_count}/${f}
Expand Down

0 comments on commit 92b7c96

Please sign in to comment.