Stefal / rtkbase

Your own GNSS base station for RTK localization with a Web GUI
GNU Affero General Public License v3.0
492 stars 122 forks source link

Check if there is some content after __ARCHIVE__ marker (more than 100 lines) - DON'T WORK #443

Closed Jef239 closed 2 days ago

Jef239 commented 3 weeks ago

In install_rtkbase_bundled in tools/install.sh writed

[[ $(sed -n '/__ARCHIVE__/,$p' "${0}" | wc -l) -lt 100 ]] && echo "RTKBASE isn't bundled inside install.sh. Please choose another source" && exit 1 It doesn't work unless you put ^ in front of ARCHIVE because it finds the line

# Find __ARCHIVE__ marker, read archive content and decompress it

Stefal commented 2 days ago

Thanks !