Downloading Scratch project to XO

pgf at laptop.org pgf at laptop.org
Thu Dec 18 09:01:22 EST 2008


philipp wrote:
 > Hi Bert, John
 > 
 > There is a bug in copy-from-journal, it is adding an additional dot 
 > before the file extension. Otherwise it is working.
 > 
 > [olpc at localhost ~]$ copy-from-journal -o 
 > 07474cf4-4883-4ded-a994-ab5511cfc29c /tmp/test.sb
 > /home/olpc/.sugar/default/data/07474cf4-4883-4ded-a994-ab5511cfc29c -> 
 > /tmp/test..sb
 > 
 > My workaround in scratch-activity looks like this:
 > if [ -n "$object_id" ] ; then
 > 	filename="$SUGAR_ACTIVITY_ROOT/instance/temp.sb"
 > 	copy-from-journal -o "$object_id" "$filename"
 > 	filename="$SUGAR_ACTIVITY_ROOT/instance/temp..sb"
 > else
 > 	filename=""
 > fi

will you file a ticket on this?  (or perhaps at least update #5571.)

paul
=---------------------
 paul fox, pgf at laptop.org
 give one laptop, get one laptop --- http://www.laptop.com/xo



More information about the Devel mailing list