Skip to content

Commit

Permalink
Fix #443
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefal committed Nov 23, 2024
1 parent 98ff937 commit 72a5f8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ install_rtkbase_bundled() {
# Find __ARCHIVE__ marker, read archive content and decompress it
ARCHIVE=$(awk '/^__ARCHIVE__/ {print NR + 1; exit 0; }' "${0}")
# Check if there is some content after __ARCHIVE__ marker (more than 100 lines)
[[ $(sed -n '/__ARCHIVE__/,$p' "${0}" | wc -l) -lt 100 ]] && echo "RTKBASE isn't bundled inside install.sh. Please choose another source" && exit 1
[[ $(sed -n '/^__ARCHIVE__/,$p' "${0}" | wc -l) -lt 100 ]] && echo "RTKBASE isn't bundled inside install.sh. Please choose another source" && exit 1
sudo -u "${RTKBASE_USER}" tail -n+${ARCHIVE} "${0}" | tar xpJv && \
_add_rtkbase_path_to_environment
}
Expand Down

0 comments on commit 72a5f8a

Please sign in to comment.