]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/doxygen/regen.sh
give an error message when ran from a wrong location instead of just saying that...
[wxWidgets.git] / docs / doxygen / regen.sh
index 75fce07801bcdab27b783ffeb3cdd7fdcaf428fc..00b0dbf3545ec33e9a2b48965071699f43ab49a5 100755 (executable)
@@ -60,10 +60,10 @@ doxygen $cfgfile
 currpath=`pwd`/
 interfacepath=`cd ../../interface && pwd`/
 cat doxygen.log | sed -e "s|$currpath||g" -e "s|$interfacepath||g" >temp
-mv temp doxygen.log
 
-# filter out the following warning which we don't care about
-#cat doxygen.log | grep -v ".*supplied.*as.*the.*argument.*is.*not.*an.*input.*file.*" >temp
-#mv temp doxygen.log
+# Doxygen warnings are not completely sorted for filename; enforce correct sorting:
+cat temp | sort >doxygen.log
+rm temp
 
+# return to the original folder from which this script was launched
 cd $current