diff options
author | Leif Johansson <leifj@sunet.se> | 2015-03-06 13:47:33 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2015-03-06 13:47:33 +0100 |
commit | d28a1e93f4ab3db1f7dc1cd2a07abf7824ea6adf (patch) | |
tree | 510446f2e92fdd6137cb8e4a5a68684d6ff55cba /edit-secrets | |
parent | 7c95885246afdb88adbcdaae60c68991facaddea (diff) |
bootstrap secretssunet-ops-2015-03-06-v08
Diffstat (limited to 'edit-secrets')
-rwxr-xr-x | edit-secrets | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/edit-secrets b/edit-secrets index 2c05197..51bfae8 100755 --- a/edit-secrets +++ b/edit-secrets @@ -133,6 +133,7 @@ else recipient=$($GPG --list-secret-key | grep ^sec | head -1 | awk '{print $2}' | cut -d / -f 2) save_to="`hostname --fqdn`/overlay${SECRETFILE}" + mkdir -p `dirname $save_to` echo "" ( echo "STATUS=UPDATED" |