summaryrefslogtreecommitdiffstats
path: root/libstb/sign-with-local-keys.sh
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.ibm.com>2018-09-10 14:20:03 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2018-09-13 15:19:36 +1000
commit084e37bab1cf6fb334af3f2c8a77f0f260eb91fe (patch)
tree3d2a955eec28f6f31b25a9528497f84fb5641e81 /libstb/sign-with-local-keys.sh
parent9ff660e218345ac21f266d0a8dc8514f5d651e64 (diff)
downloadtalos-skiboot-084e37bab1cf6fb334af3f2c8a77f0f260eb91fe.tar.gz
talos-skiboot-084e37bab1cf6fb334af3f2c8a77f0f260eb91fe.zip
Use $() rather than backticks in all shell
The cool kids are all using $() these days as backticks are all backwards and uncool. Practically speaking, it makes it easier to escape things, nest things, and all the other reasons listed on http://mywiki.wooledge.org/BashFAQ/082 Signed-off-by: Stewart Smith <stewart@linux.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libstb/sign-with-local-keys.sh')
-rwxr-xr-xlibstb/sign-with-local-keys.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstb/sign-with-local-keys.sh b/libstb/sign-with-local-keys.sh
index efddabff..b78a079b 100755
--- a/libstb/sign-with-local-keys.sh
+++ b/libstb/sign-with-local-keys.sh
@@ -11,7 +11,7 @@ fi
KEYLOC=$3
LABEL=$4
-T=`mktemp -d`
+T=$(mktemp -d)
LABEL_ARG=""
if [ ! -z "$LABEL" ]; then
LABEL_ARG="-L $LABEL"
OpenPOWER on IntegriCloud