diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/run-dogtail-tests | 6 | ||||
-rw-r--r-- | scripts/xinitrc | 5 |
2 files changed, 5 insertions, 6 deletions
diff --git a/scripts/run-dogtail-tests b/scripts/run-dogtail-tests index e588645..0994041 100755 --- a/scripts/run-dogtail-tests +++ b/scripts/run-dogtail-tests @@ -24,11 +24,7 @@ fi export SUGAR_LOGGER_LEVEL=debug export GTK_MODULES=gail:atk-bridge -export SUGAR_PROFILE=dogtail - -PROFILE_PATH=~/.sugar/dogtail - -rm -rf $PROFILE_PATH +export SUGAR_DOGTAIL=yes xinit $scriptsdir/xinitrc -- $xserver & xinitpid=$! diff --git a/scripts/xinitrc b/scripts/xinitrc index 71c2709..16760e3 100644 --- a/scripts/xinitrc +++ b/scripts/xinitrc @@ -38,7 +38,10 @@ do fi done -if [ ! -z $PROFILE ]; then +if [ ! -z $SUGAR_DOGTAIL ]; then + rm -rf ~/sugar/dogtail + export SUGAR_PROFILE=dogtail +elif [ ! -z $PROFILE ]; then export SUGAR_PROFILE=$PROFILE fi |