File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 - |
You can’t perform that action at this time.
0 commit comments