gcompris r3324 - branches/gcomprixo/src



Author: bcoudoin
Date: Thu Mar 20 22:51:00 2008
New Revision: 3324
URL: http://svn.gnome.org/viewvc/gcompris?rev=3324&view=rev

Log:
fixed bundling of bonus image. better detection now.


Modified:
   branches/gcomprixo/src/bundleit.sh

Modified: branches/gcomprixo/src/bundleit.sh
==============================================================================
--- branches/gcomprixo/src/bundleit.sh	(original)
+++ branches/gcomprixo/src/bundleit.sh	Thu Mar 20 22:51:00 2008
@@ -81,13 +81,11 @@
 fi
 
 with_clock="--exclude resources/skins/gartoon/timers"
-for act in `egrep "gc_timer_display|timers/clock" */*.c | cut -d/ -f1 | sort -u | xargs`
-do
-  if test "$activitysrc" = $act; then
+has_timer=`egrep "gc_timer_display|timers/clock" $plugindir/../*.c`
+if test "$has_timer" != ""; then
     echo "  Adding timers/clock files"
     with_clock=""
-  fi
-done
+fi
 
 # Create the Sugar specific startup scripts
 activity_dir=${activity}.activity



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]