main/open-iscsi: fix shell test syntax

This commit is contained in:
Sertonix 2024-10-14 16:55:41 +02:00 committed by Leonardo Arena
parent 10700d61c5
commit c367d74715
2 changed files with 3 additions and 3 deletions

View file

@ -163,7 +163,7 @@ index 1869fe1..6a12338 100755
elif [ "$mod" = "qla4xxx" ] ; then
mac=$(iscsi_macaddress_from_pcifn $pcipath $IFNAME 1)
-elif [ "$mod" = "qede" -o "$mod" = "qedi" ] ; then
+elif [ "$mod" = "qede" || "$mod" = "qedi" ] ; then
+elif [ "$mod" = "qede" ] || [ "$mod" = "qedi" ] ; then
mac=$(iscsi_macaddress_from_pcifn $pcipath $IFNAME 4)
fi

View file

@ -1,7 +1,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=open-iscsi
pkgver=2.1.10
pkgrel=2
pkgrel=3
pkgdesc="High performance, transport independent, multi-platform iSCSI initiator"
url="https://www.open-iscsi.com"
arch="all"
@ -54,5 +54,5 @@ sha512sums="
104b559eb368459a7151657fbca63927b6b1032bda272e903a1633c8b9d3ed199f2c5cca0e6741bcd5fa6e860d1ff2d111caf58d60d9f0a736ad767e8ae0427b add-missing-headers.patch
86a9c4be4abd34821f156f9df586c530dc2b0efc96e961cb15fd22846856cc1e76aae85806e8d0eb9f3d3e3acd7f73fe8d2a1de8944903b503e256e6a99bb2dd dont-use-lib64.patch
d99ef789d1aab1e7ba81e3f2b334a9518f1174cd53b4600bfd7e866973cdfa87664b2161c994ae7c35526a7d9165e0e2b3036f7dacc139b90fa3d0a90b6f6599 remove-werror.patch
a1f7104e9c09a217ceacfe1a206405467e00ea9cde04b96beb31e8e98833727a3a0281dbb8aa13f5c2ad7be1af0116ab0137798291eb6d43a6c8335be560d45d 0001-make-shell-scripts-POSIX-compatible.patch
e0cdca47e4dd4ca6684ab7ccae49a06253a7bc3de722a8239f692ee84431d8a63d4411f8584976d13f2907911551bf0d5871a315bd4d9f72e61b9654b34cb29b 0001-make-shell-scripts-POSIX-compatible.patch
"