diff --git a/openssh.spec b/openssh.spec index cbd2f1a..4deb49c 100644 --- a/openssh.spec +++ b/openssh.spec @@ -171,8 +171,8 @@ cp %{SOURCE3} %{SOURCE4} %{SOURCE11} . PATCH_DIR="../SUSE_patches" cat $PATCH_DIR/patch.series | while read p; do %if %{suse_version} < 1330 - if [[ "$p" =~ "openssl_1.1.0.patch" ]]; then - printf ">> skiping '$p'" + if echo "$p" | grep openssl_1.1.0.patch ; then + printf ">> skipping '$p'" continue fi %endif