mirror of
https://github.com/b4tman/armhf-alpine-qemu.git
synced 2024-12-05 01:26:54 +00:00
parent
2c343c091b
commit
c6545f9846
@ -3,7 +3,8 @@ package main
|
||||
import (
|
||||
"log"
|
||||
"os"
|
||||
"os/exec"
|
||||
"os/exec"
|
||||
filepath "path/filepath"
|
||||
"syscall"
|
||||
)
|
||||
|
||||
@ -38,7 +39,9 @@ func runShell() error {
|
||||
}
|
||||
|
||||
func main() {
|
||||
switch os.Args[0] {
|
||||
command := filepath.Base(os.Args[0])
|
||||
|
||||
switch command {
|
||||
case "cross-build-start":
|
||||
crossBuildStart()
|
||||
case "cross-build-end":
|
||||
|
Loading…
Reference in New Issue
Block a user