Skip to content

Commit f57977c

Browse files
committed
Converted pybot/rebot/jybot/... to Python elsewhere than on Windows.
Update issue 1054 Status: Done Owner: pekka.klarck
1 parent 32f78a8 commit f57977c

File tree

6 files changed

+36
-12
lines changed

6 files changed

+36
-12
lines changed

src/bin/ipybot

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1-
#!/bin/sh
2-
ipy -m robot.run "$@"
1+
#!/usr/bin/env ipy
2+
3+
import sys
4+
from robot import run_cli
5+
6+
run_cli(sys.argv[1:])

src/bin/ipyrebot

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1-
#!/bin/sh
2-
ipy -m robot.rebot "$@"
1+
#!/usr/bin/env ipy
2+
3+
import sys
4+
from robot import rebot_cli
5+
6+
rebot_cli(sys.argv[1:])

src/bin/jybot

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1-
#!/bin/sh
2-
jython -m robot.run "$@"
1+
#!/usr/bin/env jython
2+
3+
import sys
4+
from robot import run_cli
5+
6+
run_cli(sys.argv[1:])

src/bin/jyrebot

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1-
#!/bin/sh
2-
jython -m robot.rebot "$@"
1+
#!/usr/bin/env jython
2+
3+
import sys
4+
from robot import rebot_cli
5+
6+
rebot_cli(sys.argv[1:])

src/bin/pybot

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1-
#!/bin/sh
2-
python -m robot.run "$@"
1+
#!/usr/bin/env python
2+
3+
import sys
4+
from robot import run_cli
5+
6+
run_cli(sys.argv[1:])

src/bin/rebot

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1-
#!/bin/sh
2-
python -m robot.rebot "$@"
1+
#!/usr/bin/env python
2+
3+
import sys
4+
from robot import rebot_cli
5+
6+
rebot_cli(sys.argv[1:])

0 commit comments

Comments
 (0)