From f0f3c02a3ccde07d3dc79577c7eca41ea3e8e86f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 2 Apr 2010 11:32:38 +0200 Subject: Replace $var by ${var} --- etc/completions/_cryptsetup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/completions/_cryptsetup') diff --git a/etc/completions/_cryptsetup b/etc/completions/_cryptsetup index 5a327b3..9f75ec0 100644 --- a/etc/completions/_cryptsetup +++ b/etc/completions/_cryptsetup @@ -19,12 +19,12 @@ function _cryptsetup_mapping { function _cryptsetup_arguments { if (( CURRENT == 2 )) { - case $words[1] in + case ${words[1]} in create|remove|status|resize) _cryptsetup_mapping ;; luks(Format|Open|AddKey|RemoveKey|KillSlot|DelKey|UUID|Dump)|isLuks) _cryptsetup_device ;; esac } elif (( CURRENT == 3 )) { - case $words[1] in + case ${words[1]} in create) _cryptsetup_device ;; luksOpen) _cryptsetup_mapping ;; esac -- cgit v1.2.3