From d68ecdcdade14953d9cea2a5f7aa4cc5d7eaa0f8 Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 15 Jul 2026 10:20:26 +0800 Subject: [PATCH] bash --- .gitea/workflows/release-deb.yaml | 2 +- Makefile | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/release-deb.yaml b/.gitea/workflows/release-deb.yaml index 205b5b8..ba193e4 100644 --- a/.gitea/workflows/release-deb.yaml +++ b/.gitea/workflows/release-deb.yaml @@ -19,7 +19,7 @@ jobs: working-directory: /usr/local/gitea-workflow/workspace/sdlan-lib-rs run: | flock -n build.lock -c ' - source ~/.bashrc + source /home/runner/.bashrc git pull rm -rf /usr/local/gitea-workflow/workspace/sdlan-lib-rs/target/x86_64-unknown-linux-musl/debian/*.deb || true rm -rf /usr/local/gitea-workflow/workspace/sdlan-lib-rs/target/aarch64-unknown-linux-musl/debian/*.deb || true diff --git a/Makefile b/Makefile index 9c6e454..9635acc 100755 --- a/Makefile +++ b/Makefile @@ -1,3 +1,6 @@ +SHELL := /bin/bash +.SHELLFLAGS := --login -c + self: libtun-so RUSTFLAGS="-L ." cargo build --release @@ -7,7 +10,6 @@ linux: libtun-so aarch64: libtun-so-aarch64 RUSTFLAGS="-L ." cargo build --release --target aarch64-unknown-linux-gnu - linux-tun: libtun-so RUSTFLAGS="-L ." cargo build --features "tun" --release