Skip to content
Snippets Groups Projects
Verified Commit 9f1e1c92 authored by Levente Polyak's avatar Levente Polyak :rocket:
Browse files

borg: use readable template label for mktemp files

parent f7033ae2
No related branches found
No related tags found
1 merge request!435borg: allow out of place calls
......@@ -5,7 +5,7 @@ shopt -s extglob
OFFSITE_HOST=ch-s012.rsync.net
decrypted_gpg=$(mktemp)
decrypted_gpg=$(mktemp arch-infrastructure-borg-XXXXXXXXX)
trap "rm \"${decrypted_gpg}\"" EXIT
[[ "$*" =~ $OFFSITE_HOST ]] && is_offsite=true || is_offsite=false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment