config.lib
changeset 8114 9160c0aa6997
parent 8060 0e36becca525
child 8183 e4425028c318
equal deleted inserted replaced
8113:f7a573c5d56c 8114:9160c0aa6997
   700 			revision=""
   700 			revision=""
   701 			log 1 "checking revision... svn detection"
   701 			log 1 "checking revision... svn detection"
   702 		elif [ -d "$ROOT_DIR/.git" ] && [ -n "`git help`" ]; then
   702 		elif [ -d "$ROOT_DIR/.git" ] && [ -n "`git help`" ]; then
   703 			revision=""
   703 			revision=""
   704 			log 1 "checking revision... git detection"
   704 			log 1 "checking revision... git detection"
       
   705 		elif [ -d "$ROOT_DIR/.hg" ] && [ -n "`hg help`" ]; then
       
   706 			revision=""
       
   707 			log 1 "checking revision... hg detection"
   705 		else
   708 		else
   706 			revision=""
   709 			revision=""
   707 			log 1 "checking revision... no detection"
   710 			log 1 "checking revision... no detection"
   708 			log 1 "WARNING: there is no means to determine the version."
   711 			log 1 "WARNING: there is no means to determine the version."
   709 			log 1 "WARNING: please use a subversion or git checkout of OpenTTD."
   712 			log 1 "WARNING: please use a subversion or git checkout of OpenTTD."