From d60f9ab93ffcd694a5110dc72213d34e8594a0f8 Mon Sep 17 00:00:00 2001
From: Trygve Laugstøl <trygvis@inamo.no>
Date: Tue, 9 Oct 2012 13:32:46 +0200
Subject: o Adding list-versions and set-version.

---
 app_completion | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'app_completion')

diff --git a/app_completion b/app_completion
index 231a714..0647c6d 100644
--- a/app_completion
+++ b/app_completion
@@ -32,14 +32,14 @@ _complete_appsh() {
   case $prev in
     -n)
       values=$(./app list -P name)
-      COMPREPLY=( $(compgen -W "$values" -- ${cur}) )
+      COMPREPLY=($(compgen -W "$values" -- ${cur}))
       return 0
       ;;
     -i)
       if [ -n "$has_n" ]
       then
         values=$(./app list -n $has_n -P instance)
-        COMPREPLY=( $(compgen -W "$values" -- ${cur}) )
+        COMPREPLY=($(compgen -W "$values" -- ${cur}))
         return 0
       fi
       ;;
-- 
cgit v1.2.3