mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
Make dev-check check for SSH instead of non-HTTP
In order to determine, whether we are developers or not, check the git-remotes for SSH-URLs instead of checking for the non-existence of any HTTP-URLs. This fixes dev-mode not being detected properly when curious devs add other HTTP-remotes such as upstream OpenWRT. This also makes the check consistent with the check done in the main "iop" script in the root.
This commit is contained in:
parent
95e887087f
commit
986fc5ea78
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ function genconfig {
|
|||
|
||||
}
|
||||
|
||||
git remote -v | grep -q http || {
|
||||
git remote -v | grep -qE '(git@|ssh://)' && {
|
||||
DEVELOPER=1
|
||||
|
||||
bcmAllowed=0
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue