# HG changeset patch # User John Donoghue # Date 1390873822 18000 # Node ID bc0e6c5189cd522070815f05180c9a2afa5d6435 # Parent 608931797a534025b457c20bf9c7ae36e65a35d3 build_packages.m: cd to src folder to install src packages * build_packages.m: cd to folder where build_packages.m is to install the .tar.gz packages. diff -r 608931797a53 -r bc0e6c5189cd build_packages.m --- a/build_packages.m Mon Jan 27 19:49:49 2014 -0500 +++ b/build_packages.m Mon Jan 27 20:50:22 2014 -0500 @@ -1,5 +1,11 @@ more ("off"); echo ("on"); +% cd to script directory as the packages files are in the same place +[packagedir] = fileparts(mfilename("fullpathext")); +if length(packagedir) > 0 + cd(packagedir); +endif +% install the packages pkg install general-1.3.2.tar.gz pkg install miscellaneous-1.2.0.tar.gz pkg install struct-1.0.10.tar.gz