Mercurial > forge
view extra/robotics/PKG_DEL @ 12669:1c92b4b26ced octave-forge
releasePKG.m: exclude .hg* files of export as of bug #45669
author | jpicarbajal |
---|---|
date | Fri, 31 Jul 2015 19:49:28 +0000 |
parents | 0811adf85beb |
children |
line wrap: on
line source
%1 dirlist = {}; dirname = fileparts (canonicalize_file_name (mfilename ("fullpath"))); if (! exist (fullfile (dirname, "inst"), "dir")) for ii=1:length (dirlist) ## Run this if the package is installed rmpath ( [ dirname filesep dirlist{ii}]) end else warning("robotics:Devel","Removing path for testing."); for ii=1:length(dirlist) rmpath ([ dirname "/inst/" dirlist{ii}]) endfor endif clear dirlist dirname