Skip to content

Commit

Permalink
Merge pull request #5409 from AuxXxilium/dev
Browse files Browse the repository at this point in the history
func: fix dual build
  • Loading branch information
AuxXxilium authored Dec 28, 2024
2 parents adba4d3 + e9daed7 commit 700183f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/func.sh
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,8 @@ function copyBuildroot() {

# create arc executable
function createArc() {
./scripts/make/makeself.sh --current --zstd --quiet "../arc/files/initrd/opt/arc" arc "Arc Loader" "./init.sh"
[ ! -f "arc" ] && ./scripts/make/makeself.sh --current --zstd --quiet "../arc/files/initrd/opt/arc" arc "Arc Loader" "./init.sh" || true
rm -rf "../arc/files/initrd/opt/arc"
mkdir -p "../arc/files/initrd/opt/arc"
mv -f "arc" "../arc/files/initrd/opt/arc/"
cp -f "arc" "../arc/files/initrd/opt/arc/"
}

0 comments on commit 700183f

Please sign in to comment.