Merge branch 'rusefi:master' into master

This commit is contained in:
mi-hol 2023-01-21 13:04:00 +01:00 committed by GitHub
commit a50b05feb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,5 @@
``there is a fine line between distraction and help``
# D is for... **DISTRACTION**
One of the major things rusEFI struggles with is the developers and contributors getting sidetracked by interesting shiny things.

View File

@ -4,6 +4,8 @@ Designed for 2002 RSX wiring
[Pinout](https://rusefi.com/docs/pinouts/hellen/hellen-honda-k/)
[Snapshot Bundle](https://rusefi.com/build_server/rusefi_bundle_hellen-honda-k.zip)
[Schematics rev a](https://github.com/rusefi/rusefi_documentation/raw/master/Hardware/Hellen/hellen125honda-a-schematic.pdf)

View File

@ -8,4 +8,6 @@
[Proteus Manual](Proteus-Manual)
[see also Hellen-125-Honda-K](https://github.com/rusefi/rusefi/wiki/Hellen-125-Honda-K)
![x](https://rusefi.com/forum/download/file.php?id=8391)

View File

@ -50,7 +50,7 @@ checkurl() {
echo "Type a number, then hit return to select an alternative, or just hit return to skip fixing:" >&2
# Read the user input
read -r PICK
if [ "$PICK" -eq 1 ]; then
if [[ $PICK =~ ^[0-9]+$ ]] && [ "$PICK" -eq 1 ]; then
# Replace the old link with the new one.
# Parentheses are placed around both the old link and new one in order to ensure we replace the link,
# and not some other place in the file that happens to use the same words.
@ -205,11 +205,15 @@ done
export LIST=$(find . -iname "*.md" ! -name '_*')
if [ "${#FILES[@]}" -gt 0 ]; then
STATUS=0
# Only run `searchfile` on passed-in file names.
for f in "${FILES[@]}"; do
searchfile "$f"
exit $?
if [ "$?" -ne 0 ]; then
STATUS=1
fi
done
exit $STATUS
else
# run `searchfile` on every .md file in the repo
xargs -0 -P $(nproc --all) -a <(echo "$LIST" | tr '\n' '\0') -I {} bash -c 'searchfile "$@"' _ {}