[PC-BSD Commits] r2795 - pbibuild/pbi-source/PBItext

svn at pcbsd.org svn at pcbsd.org
Thu Sep 18 14:34:24 PDT 2008


Author: kris
Date: 2008-09-18 14:34:24 -0700 (Thu, 18 Sep 2008)
New Revision: 2795

Modified:
   pbibuild/pbi-source/PBItext/PBItext.pro
   pbibuild/pbi-source/PBItext/main.cpp
Log:

Fixed same mime creation bug for PBIText



Modified: pbibuild/pbi-source/PBItext/PBItext.pro
===================================================================
--- pbibuild/pbi-source/PBItext/PBItext.pro	2008-09-18 21:32:03 UTC (rev 2794)
+++ pbibuild/pbi-source/PBItext/PBItext.pro	2008-09-18 21:34:24 UTC (rev 2795)
@@ -13,4 +13,4 @@
   OBJECTS_DIR = .obj
 }
 
-
+QMAKE_LIBDIR = /usr/local/kde4/lib /usr/local/lib/qt4

Modified: pbibuild/pbi-source/PBItext/main.cpp
===================================================================
--- pbibuild/pbi-source/PBItext/main.cpp	2008-09-18 21:32:03 UTC (rev 2794)
+++ pbibuild/pbi-source/PBItext/main.cpp	2008-09-18 21:34:24 UTC (rev 2795)
@@ -1236,7 +1236,7 @@
         }
 
         // Create the mime entry by calling addpbimime.sh
-        QString command="bash '" + Location + "/addpbimime.sh' '" + MimeName + "' '" +MimeExt[MimeNum] + "' '" + ProgEXE + "' '" + Icon + "' '" + Terminal + "'" ;
+        QString command="./addpbimime.sh '" + MimeName + "' '" +MimeExt[MimeNum] + "' '" + ProgEXE + "' '" + Icon + "' '" + Terminal + "'" ;
         system(command.toLatin1());
 
         // Create the next Mime entry now



More information about the Commits mailing list