blob: 308aac7a549a4592eb370826ac2546355e069d3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
if [ "$(id -u)" -eq 0 -o "$(id -ru)" -eq 0 ] ; then
echo Refusing to run as root.
exit 3
fi
# Source debug definitions
if [ -f ~/.sugar/debug ]; then
. ~/.sugar/debug
fi
# Start emulator
python -c "import sys; from jarabe.util import emulator; sys.argv[0]='$0'; emulator.main()" "$@"
|