loongarch64 / website

https://loongarch.dev
6 stars 3 forks source link

update view.sh to improve multiple os support: #27

Closed foxsen closed 2 years ago

foxsen commented 2 years ago
  1. use /usr/bin/env to locate bash instead of /usr/bin/bash
  2. write a version compare function in shell syntax to avoid the dependence on vercmp program.