Correct sugar-shell path logic
This commit is contained in:
parent
e1f0ba15f4
commit
751fa0f663
@ -39,7 +39,10 @@ from sugar.emulator import Emulator
|
||||
import _sugar
|
||||
|
||||
if len(sys.argv) == 1:
|
||||
program = 'shell/sugar-shell'
|
||||
if sourcedir:
|
||||
program = os.path.join(sourcedir, 'shell/sugar-shell')
|
||||
else:
|
||||
program = 'sugar-shell'
|
||||
else:
|
||||
program = sys.argv[1]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user