mirror of
https://github.com/danog/gllvm.git
synced 2025-01-23 04:31:15 +01:00
fix caller name recognition
This commit is contained in:
parent
1d092b9e7b
commit
3a43f22758
3
gllvm.go
3
gllvm.go
@ -2,12 +2,13 @@ package main
|
|||||||
|
|
||||||
import(
|
import(
|
||||||
"os"
|
"os"
|
||||||
|
"path"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
// Parse command line
|
// Parse command line
|
||||||
var args = os.Args
|
var args = os.Args
|
||||||
var callerName = args[0]
|
_, callerName := path.Split(args[0])
|
||||||
args = args[1:]
|
args = args[1:]
|
||||||
|
|
||||||
switch callerName {
|
switch callerName {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user