with lots of repos
This commit is contained in:
@@ -41,6 +41,6 @@ func (g *Go) Build(ctx context.Context, modulePath, entryPath string) (GoExecuta
|
||||
|
||||
return func(ctx context.Context, victimPath string) error {
|
||||
g.logger.Debug("Executing script", zap.String("victim", victimPath))
|
||||
return exec.CommandContext(ctx, fmt.Sprintf("(cd %s; %s/main)", victimPath, modulePath)).Run()
|
||||
return exec.CommandContext(ctx, "/bin/bash", "-c", fmt.Sprintf("(cd %s; %s/main)", victimPath, modulePath)).Run()
|
||||
}, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user