Make sugar-emulator [program] actually work again

This commit is contained in:
Marco Pesenti Gritti 2007-03-08 11:44:00 +01:00
parent 8ddaa516b3
commit e1f0ba15f4
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ from sugar.emulator import Emulator
import _sugar
if len(sys.argv) == 1:
program = 'sugar-shell'
program = 'shell/sugar-shell'
else:
program = sys.argv[1]
@ -58,7 +58,7 @@ emulator = Emulator(width, height, fullscreen, dpi)
emulator.start()
if sourcedir:
program = os.path.join(os.path.join(sourcedir, 'shell'), program)
program = os.path.join(sourcedir, program)
os.execlp('dbus-launch', 'dbus-launch', '--exit-with-session', program, sourcedir)
else:
os.execlp('dbus-launch', 'dbus-launch', '--exit-with-session', program)

View File

@ -1,6 +1,6 @@
VERSION=0.63
DATE=`date +%Y%m%d`
RELEASE=2.46
RELEASE=2.47
TARBALL=sugar-$VERSION-$RELEASE.${DATE}git.tar.bz2
rm sugar-$VERSION.tar.bz2