1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-25 09:26:14 +01:00

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

This commit is contained in:
Marcus Huewe 2010-08-26 14:39:36 +02:00
parent 2a18eff50b
commit 0473f4b9ec

4
dist/complete.sh vendored
View File

@ -1,6 +1,6 @@
test -z "$BASH_VERSION" && return test -z "$BASH_VERSION" && return
complete -o default _nullcommand &> /dev/null || return complete -o default _nullcommand >/dev/null 2>&1 || return
complete -r _nullcommand &> /dev/null || 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/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/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 test -s /usr/lib/osc/complete && complete -o default -C /usr/lib/osc/complete osc