changeset 31029:9504d582b2c6 stable

mkoctfile.m: Trim whitespace (newline) around system output.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 26 May 2022 18:25:51 +0200
parents 72786e150001
children ded93e72418d 0938366560cf
files scripts/miscellaneous/mkoctfile.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/miscellaneous/mkoctfile.m	Thu May 26 12:58:52 2022 +0200
+++ b/scripts/miscellaneous/mkoctfile.m	Thu May 26 18:25:51 2022 +0200
@@ -226,7 +226,7 @@
   [sts, out] = system (cmd);
 
   if (nargout > 0)
-    [output, status] = deal (out, sts);
+    [output, status] = deal (strtrim (out), sts);
     if (sts != 0)
       warning ("mkoctfile: building exited with failure status\n");
     endif