Skip to content

Commit cafdaeb

Browse files
author
timlinux
committedSep 12, 2006
Minor updates to debug output
Try to do a better job of deploying .py files on mac git-svn-id: http://svn.osgeo.org/qgis/trunk@5816 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent ebebef5 commit cafdaeb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
 

‎tools/mapserver_export/Makefile.am

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,10 @@ endif
8888
#
8989
# Put script into an appropriate dir
9090
#
91-
9291
pythondir = ${pkgdatadir}/python
92+
if HAVE_QTMAC
93+
pythondir=$(MACBINDIR)/share/qgis/python
94+
endif
9395

9496
python_DATA = *.py
9597

‎tools/mapserver_export/qgsmapserverexport.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ void QgsMapserverExport::on_buttonOk_clicked()
118118
#endif
119119
dataPath = dataPath.trimmed();
120120
QString scriptDir = dataPath + QDir::separator() + "python";
121-
qDebug(scriptDir);
121+
qDebug("Python scripts directory: " + scriptDir.toLocal8Bit());
122122
//QString curdir = "/home/gsherman/development/qgis_qt_port/tools/mapserver_export";
123123
QString sysCmd = QString("sys.path.append('%1')").arg(scriptDir);
124124
PyRun_SimpleString(sysCmd.ascii());

0 commit comments

Comments
 (0)
Please sign in to comment.