]> git.saurik.com Git - wxWidgets.git/commitdiff
If WXWIDGETS is not set and if on cygwin then set it to a DOS style path. (This...
authorRobin Dunn <robin@alldunn.com>
Tue, 21 Feb 2012 05:38:53 +0000 (05:38 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 21 Feb 2012 05:38:53 +0000 (05:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/doxygen/regen.sh

index 0fb271912273e7613962b702aed0b3c62a76aa1c..b29e1a522b13119cd60ec378d405419c7be0efc0 100755 (executable)
@@ -20,7 +20,12 @@ me=$(basename $0)
 path=${0%%/$me}        # path from which the script has been launched
 current=$(pwd)
 cd $path
-export WXWIDGETS=`cd ../.. && pwd`
+if [ "$WXWIDGETS" = "" ]; then
+    export WXWIDGETS=`cd ../.. && pwd`
+    if [ "$OSTYPE" = "cygwin" ]; then
+        export WXWIDGETS=`cygpath -w $WXWIDGETS`
+    fi
+fi
 
 # prepare folders for the cp commands below
 mkdir -p out/html       # we need to copy files in this folder below