Skip to content

Commit fa32ee5

Browse files
authored
UTF file issue
UTF file issue
1 parent ffc0e81 commit fa32ee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

master_deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ deploy_s3bucket() {
579579
uploadpath=$(echo $syncfilepath | cut -b ${lengthofsearchpath}-)
580580
echo $uploadpath
581581
getformatdetails=$(file ${syncfilepath})
582-
if [[ $getformatdetails == *"ASCII"* ]] || [[ $getformatdetails == *"empty"* ]];
582+
if [[ $getformatdetails == *"ASCII"* ]] || [[ $getformatdetails == *"UTF"* ]] || [[ $getformatdetails == *"empty"* ]];
583583
then
584584
echo "file format is ASCII and skipping gzip option"
585585
S3_OPTIONS=""

0 commit comments

Comments
 (0)