Skip to content

Commit 7da5a7a

Browse files
committed
Merge branch 'develop'
2 parents bb80fc5 + 63902b9 commit 7da5a7a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

trmm/My-Scripts.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ tasks:
333333
- cmd: |
334334
# Extract a sane filename
335335
filename=$(echo {{ squote .BASE64_JSON }} | coreutils base64 --decode - | yq --output-format=json --unwrapScalar ".name" |
336-
tr --complement --delete '\11\12\15\40-\176' | tr ' ' '_')
336+
coreutils tr --complement --delete '\11\12\15\40-\176' | tr ' ' '_')
337337
filename=${filename##_}
338338
filename=${filename%%_}
339339
case $(echo {{ squote .BASE64_JSON }} | coreutils base64 --decode - | yq --output-format=json --unwrapScalar ".shell") in
@@ -352,13 +352,13 @@ tasks:
352352
esac
353353
echo "Filename: $filename"
354354
# Save the script
355-
coreutils cat << EOT
355+
coreutils cat << EOT |
356356
{{.BASE64_JSON}}
357357
EOT
358358
coreutils base64 --decode - |
359359
yq --output-format=json --unwrapScalar '.script_body' > {{ squote .MY_SCRIPTS_DIR }}/"${filename}"
360360
# Convert the JSON to "import" format
361-
coreutils cat << EOT
361+
coreutils cat << EOT |
362362
{{.BASE64_JSON}}
363363
EOT
364364
coreutils base64 --decode - |

0 commit comments

Comments
 (0)