Changeset 481


Ignore:
Timestamp:
05/18/09 16:18:52 (16 years ago)
Author:
Mathieu Morlighem
Message:

better that way...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/utils/UpdateArchive/updatearchive.m

    r480 r481  
    2525[status,list]=system('ls -l | grep -v CVS | awk ''{printf("%s|",$9);}'' '); %only works on *nix systems.
    2626list=strsplit(list,'|');
    27 %Go through list of decks, and run the deck runme.m files.
     27%Go through list of decks, and run the deck updatearchive.m files.
    2828for i=2:length(list)-1,
    2929        eval(['cd ' list{i}]);
    30         updatearchive;
     30        if nargin==1
     31                updatearchive(varargin{1});
     32        else
     33                updatearchive;
     34        end
    3135        cd ..
    3236end
Note: See TracChangeset for help on using the changeset viewer.