瀏覽代碼

Fix bugs from https://trac.osgeo.org/grass/changeset/41557 (changed wxpython directory)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@41675 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 15 年之前
父節點
當前提交
45376fee04
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/init/functions.sh

+ 2 - 2
lib/init/functions.sh

@@ -260,7 +260,7 @@ check_gui()
 	# ok
 	if [ "$?" = 0 ] ; then
 	    # Set the wxpython base directory
-	    WXPYTHONGRASSBASE="$ETC/wxpython"
+	    WXPYTHONGRASSBASE="$ETC/gui/wxpython"
 	else
 	    # Python was not found - switch to text interface mode
 	    cat <<-EOF
@@ -593,7 +593,7 @@ start_gui()
     
     case "$GRASS_GUI" in
         wxpython)
-            "$GRASS_PYTHON" "$GISBASE/etc/wxpython/wxgui.py" &
+            "$GRASS_PYTHON" "WXPYTHONGRASSBASE/wxgui.py" &
             ;;
         # Ignore others
         *)