iop: feeds_update: Make dev-check check for SSH instead of non-HTTP

Similarly to 986fc5ea (Make dev-check check for SSH instead of non-HTTP,
2020-06-23), check for SSH instead of whether the repo was cloned via
HTTP. Developers might have other remotes such as OpenWrt's configured.
This commit is contained in:
Andreas Gnau 2021-09-14 09:57:48 +02:00
parent 60d1c43735
commit aa25a78ff1

View file

@ -14,7 +14,7 @@ function feeds_update {
done
git remote -v | grep -q http || developer=1
git remote -v | grep -qE '(git@|ssh://)' && developer=1
cp .config .genconfig_config_bak