[Pkg-octave-commit] [SCM] qtoctave branch, master, updated. faf2196b3146189f930ec32bbbdcf1afaacf7db9
Jordi Gutiérrez Hermoso
jordigh at gmail.com
Wed Aug 18 22:23:59 UTC 2010
The following commit has been merged in the master branch:
commit faf2196b3146189f930ec32bbbdcf1afaacf7db9
Author: Jordi Gutiérrez Hermoso <jordigh at gmail.com>
Date: Wed Aug 18 17:23:44 2010 -0500
Patch qtoctave/src/editor.cpp to allow execution of scripts with special characters in their filename
diff --git a/debian/patches/fix-exec-script-in-editor b/debian/patches/fix-exec-script-in-editor
new file mode 100644
index 0000000..371f12b
--- /dev/null
+++ b/debian/patches/fix-exec-script-in-editor
@@ -0,0 +1,13 @@
+Index: qtoctave-0.9.2+svn255/qtoctave/src/editor.cpp
+===================================================================
+--- qtoctave-0.9.2+svn255.orig/qtoctave/src/editor.cpp 2010-08-18 16:53:00.000000000 -0500
++++ qtoctave-0.9.2+svn255/qtoctave/src/editor.cpp 2010-08-18 16:53:27.000000000 -0500
+@@ -366,7 +366,7 @@
+
+ QFileInfo finfo(currentNtv->path());
+ octave_connection->command_enter(QString("cd '") + finfo.path() + "'");
+- octave_connection->command_enter(finfo.baseName());
++ octave_connection->command_enter(QString("source ") + finfo.fileName());
+
+ }else if(action == actionDebug){
+ /** Run */
--
qtoctave
More information about the Pkg-octave-commit
mailing list