Add shell linting and tidying and update all shell scripts
This commit is contained in:
@@ -9,7 +9,7 @@ VERSION="$2"
|
||||
|
||||
cd "$CROSS_DIR"
|
||||
|
||||
if [[ -n "$VERSION" ]] && ! [[ "$VERSION" =~ ^v ]]; then
|
||||
if [[ -n $VERSION ]] && ! [[ $VERSION =~ ^v ]]; then
|
||||
cargo install cross --git https://github.com/cross-rs/cross --rev "$VERSION"
|
||||
mv "$HOME/.cargo/bin/cross" .
|
||||
exit 0
|
||||
@@ -22,6 +22,7 @@ fi
|
||||
|
||||
export TARGET=.
|
||||
curl --silent --location \
|
||||
https://raw.githubusercontent.com/houseabsolute/ubi/master/bootstrap/bootstrap-ubi.sh |
|
||||
https://raw.githubusercontent.com/houseabsolute/ubi/master/bootstrap/bootstrap-ubi.sh |
|
||||
sh
|
||||
# shellcheck disable=SC2086
|
||||
./ubi --project cross-rs/cross --matching musl --in . $VERSION_ARGS
|
||||
|
||||
Reference in New Issue
Block a user