Fix shebang breaking script on nixos
This commit is contained in:
parent
38a0430854
commit
da179843ee
@ -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
|
||||
fi
|
||||
|
@ -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
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user