diff --git a/.sops/decrypt-filter.sh b/.sops/decrypt-filter.sh index f12cf230..af404fe0 100755 --- a/.sops/decrypt-filter.sh +++ b/.sops/decrypt-filter.sh @@ -1,5 +1,5 @@ -#!/bin/bash -# Takes file path as first positional argument + +# Takes file path as first positional argument # Takes encrypted file contents from /dev/stdin # Outputs to stdout @@ -30,4 +30,4 @@ if [[ -z ${FILE_TYPE+x} ]]; then sops --decrypt /dev/stdin else sops --decrypt --input-type $FILE_TYPE --output-type $FILE_TYPE /dev/stdin -fi \ No newline at end of file +fi diff --git a/.sops/encrypt-filter.sh b/.sops/encrypt-filter.sh index 72126165..ca85f666 100755 --- a/.sops/encrypt-filter.sh +++ b/.sops/encrypt-filter.sh @@ -1,4 +1,4 @@ -#!/bin/bash + # Takes file path as $1 # Takes file contents from stdin # Outputs to stdout @@ -25,4 +25,4 @@ if [[ -z ${FILE_TYPE+x} ]]; then sops --encrypt --config $REPO_ROOT/.sops.yaml /dev/stdin else sops --encrypt --config $REPO_ROOT/.sops.yaml --input-type $FILE_TYPE --output-type json /dev/stdin -fi \ No newline at end of file +fi