Skip to contentSkip to conversation

master - lvmdump: legacy syntax

PATCH Zdenek Kabelac 1 participant 1 message Jun 29, 2017

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=a458065aa10c12f8a5c89ce7c6140c0459221f60
Commit:        a458065aa10c12f8a5c89ce7c6140c0459221f60
Parent:        a0740f831c4787fbb98a9a7db5ca2f3c0bfdcf6d
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Wed Jun 28 21:00:48 2017 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Jun 29 22:23:16 2017 +0200

lvmdump: legacy syntax

Use $(..) instead of legacy ...

---
 scripts/lvmdump.sh.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
scripts/lvmdump.sh.in +1 -1
index 611dda6..f5af242 100644
@@ -98,7 +98,7 @@ while getopts :acd:hlpmus opt; do
 	esac
 done
 
-NOW=`$DATE -u +%G%m%d%k%M%S | $TR -d ' '`
+NOW=$("$DATE" -u +%G%m%d%k%M%S | "$TR" -d ' ')
 if test -n "$userdir"; then
 	dir="$userdir"
 else