aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gpgrt-config.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gpgrt-config.in b/src/gpgrt-config.in
index 90f8006..f8a7a2c 100644
--- a/src/gpgrt-config.in
+++ b/src/gpgrt-config.in
@@ -247,15 +247,15 @@ list_only_once_for_libs () {
}
arg1_is_same () {
- [ "$1" = "=" -o "$1" = ">=" -o "$1" = "<=" ]
+ [ "$1" = "=" ] || [ "$1" = ">=" ] || [ "$1" = "<=" ]
}
arg1_is_less () {
- [ "$1" = "!=" -o "$1" = "<" -o "$1" = "<=" ]
+ [ "$1" = "!=" ] || [ "$1" = "<" ] || [ "$1" = "<=" ]
}
arg1_is_great () {
- [ "$1" = "!=" -o "$1" = ">" -o "$1" = ">=" ]
+ [ "$1" = "!=" ] || [ "$1" = ">" ] || [ "$1" = ">=" ]
}
#
@@ -279,7 +279,7 @@ eval_compare_version () {
___char1=${___str1%${___str1#?}}
___char2=${___str2%${___str2#?}}
- if [ "$___char1" = ~ -o "$___char2" = ~ ]; then
+ if [ "$___char1" = ~ ] || [ "$___char2" = ~ ]; then
if [ "$___char1" != ~ ]; then
arg1_is_great $___cmp
return
@@ -293,7 +293,7 @@ eval_compare_version () {
continue
fi
- if [ -z "$___char1" -o -z "$___char2" ]; then
+ if [ -z "$___char1" ] || [ -z "$___char2" ]; then
break
fi