File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ function calculate_hash() {
161161# Calculate directory checksum
162162function get_dir_checksum() {
163163 local dir=$1
164- local dir_checksum=$( find " $dir " -type d \( -name " python" -o -name " node_modules" -o -name " build" -o -name " .aws-sam" -o -name " dist" -o -name " __pycache__" -o " .pytest_cache" -o -name " *.egg-info" \) -prune -o -type f \( ! -name " .checksum" -a ! -name " *.pyc" \) -exec $STAT_CMD {} \; | sha256sum | awk ' { print $1 }' )
164+ local dir_checksum=$( find " $dir " -type d \( -name " python" -o -name " node_modules" -o -name " build" -o -name " .aws-sam" -o -name " dist" -o -name " __pycache__" -o -name " .pytest_cache" -o -name " *.egg-info" \) -prune -o -type f \( ! -name " .checksum" -a ! -name " *.pyc" \) -exec $STAT_CMD {} \; | sha256sum | awk ' { print $1 }' )
165165 local combined_string=" $BUCKET $PREFIX_AND_VERSION $REGION $dir_checksum "
166166 echo -n " $combined_string " | sha256sum | awk ' { print $1 }'
167167}
You can’t perform that action at this time.
0 commit comments