completions: remove deprecated shell syntax.

https://bugzilla.gnome.org/show_bug.cgi?id=744877#c21
This commit is contained in:
Mathieu Duponchelle 2015-03-18 14:44:21 +01:00
parent c72abb2737
commit 92d204be44
2 changed files with 4 additions and 4 deletions

View file

@ -60,7 +60,7 @@ __inspect_main ()
then then
command="$var" command="$var"
fi fi
i=$[$i+1] i=$(($i+1))
done done
if [[ "$command" == "--gst"* ]]; then if [[ "$command" == "--gst"* ]]; then

View file

@ -65,7 +65,7 @@ _gst_launch_main ()
then then
command="$var" command="$var"
fi fi
i=$[$i+1] i=$(($i+1))
done done
i=1 i=1
@ -76,7 +76,7 @@ _gst_launch_main ()
if [[ "$var" == "--"* ]] if [[ "$var" == "--"* ]]
then then
i=$[$i+1] i=$(($i+1))
continue continue
fi fi
@ -86,7 +86,7 @@ _gst_launch_main ()
previous_element="$var" previous_element="$var"
have_previous_element=1 have_previous_element=1
fi fi
i=$[$i+1] i=$(($i+1))
done done
if [[ "$command" == "--gst"* ]]; then if [[ "$command" == "--gst"* ]]; then