From: Robin Dunn Date: Tue, 21 Feb 2012 05:38:53 +0000 (+0000) Subject: If WXWIDGETS is not set and if on cygwin then set it to a DOS style path. (This... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c0e5edf5486ad19e1bb135851924ae4791e3b5d2 If WXWIDGETS is not set and if on cygwin then set it to a DOS style path. (This assumes that it is not a cygwin oxygen that is being run, if that's not the case then set WXWIDGETS before running regen.sh) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/doxygen/regen.sh b/docs/doxygen/regen.sh index 0fb2719122..b29e1a522b 100755 --- a/docs/doxygen/regen.sh +++ b/docs/doxygen/regen.sh @@ -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