diff scripts/pkg/private/configure_make.m @ 21758:ffad2baa90f7

maint: Use newlines to make code more readable.
author Rik <rik@octave.org>
date Fri, 20 May 2016 15:46:45 -0700
parents b571fc85953f
children b002b4331a12
line wrap: on
line diff
--- a/scripts/pkg/private/configure_make.m	Fri May 20 12:03:39 2016 -0700
+++ b/scripts/pkg/private/configure_make.m	Fri May 20 15:46:45 2016 -0700
@@ -23,6 +23,7 @@
 ## @end deftypefn
 
 function configure_make (desc, packdir, verbose)
+
   ## Perform ./configure, make, make install in "src".
   if (exist (fullfile (packdir, "src"), "dir"))
     src = fullfile (packdir, "src");
@@ -94,8 +95,8 @@
         error ("pkg: error running `make' for the %s package.", desc.name);
       endif
     endif
+  endif
 
-  endif
 endfunction
 
 ## Executes a shell command.  In the end it calls system() but in case of
@@ -133,4 +134,6 @@
   else
     [status, output] = system (cmd);
   endif
+
 endfunction
+