summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorTails developers <tails@boum.org>2012-11-03 18:23:41 +0100
committerTails developers <tails@boum.org>2012-11-03 18:36:22 +0100
commitf4869008cad7acb3ec67ccee309cbad0533045ad (patch)
treeb92d1b27d1f9d91b19544fb217cfc8dccde99aa8 /templates
parent8241897c0ccff1bf8d274c3074580e580ad057be (diff)
Use new-style shell expansion in export-key
Diffstat (limited to 'templates')
-rw-r--r--templates/reprepro-export-key.sh.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/reprepro-export-key.sh.erb b/templates/reprepro-export-key.sh.erb
index e4759e7..97e111a 100644
--- a/templates/reprepro-export-key.sh.erb
+++ b/templates/reprepro-export-key.sh.erb
@@ -3,7 +3,7 @@
# This file is managed by Puppet. Do not edit, any changes will be overwritten!
#
-KEY="`gpg --homedir <%= @basedir %>/.gnupg --with-colon --list-secret-keys | cut -d : -f 5 | head -n 1`"
+KEY="$(gpg --homedir <%= @basedir %>/.gnupg --with-colon --list-secret-keys | cut -d : -f 5 | head -n 1)"
if [ ! -z "$KEY" ]; then
tempfile=$(mktemp)