Permalink
Browse files

- removed bashism (patch by Guido Berhoerster <gber@opensuse.org>)

  • Loading branch information...
1 parent 2a18eff commit 0473f4b9eca8137c8ca20b3c90b90b255e2c6a4f @marcus-h marcus-h committed Aug 26, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 dist/complete.sh
View
@@ -1,6 +1,6 @@
test -z "$BASH_VERSION" && return
-complete -o default _nullcommand &> /dev/null || return
-complete -r _nullcommand &> /dev/null || return
+complete -o default _nullcommand >/dev/null 2>&1 || return
+complete -r _nullcommand >/dev/null 2>&1 || return
test -s /usr/share/osc/complete && complete -o default -C /usr/share/osc/complete osc
test -s /usr/lib64/osc/complete && complete -o default -C /usr/lib64/osc/complete osc
test -s /usr/lib/osc/complete && complete -o default -C /usr/lib/osc/complete osc

0 comments on commit 0473f4b

Please sign in to comment.