diff options
author | ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b <ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-06-07 15:53:22 +0000 |
---|---|---|
committer | ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b <ribosome ribosome@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-06-07 15:53:22 +0000 |
commit | ef536a1816ddace847600a95d18cec568000f6e4 (patch) | |
tree | 6fbd2b60a59a91eeaa8584a299d3270a42679fb5 | |
parent | 348ae635795411d4a159af15f527a6c4960b5339 (diff) |
BUILD : 1.7.3 (176) BUGS : NOTES : Added check to make sure register script was being run from within the bin/ directory. If ./bin/register was used, the path to cache file would be incorrect (../config.cache)
git-svn-id: svn://svn.anope.org/anope/trunk@176 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@123 5417fbe8-f217-4b02-8779-1006273d7864
-rwxr-xr-x | bin/register | 7 | ||||
-rw-r--r-- | version.log | 6 |
2 files changed, 11 insertions, 2 deletions
diff --git a/bin/register b/bin/register index d335ea273..5162e44e4 100755 --- a/bin/register +++ b/bin/register @@ -14,7 +14,7 @@ REGCACHE="register.cache" SENDMAIL="/usr/sbin/sendmail" # SCRIPT VERSION NUMBER (DO NOT ALTER) -REGISTERVERSION="1.1" +REGISTERVERSION="1.2" # DO NOT CHANGE IF YOU WANT TO REGISTER WITH ANOPE REGISTRYADDRESS="register@anope.org" @@ -24,6 +24,11 @@ REGISTRYADDRESS="register@anope.org" # YOU ARE NOT REQUIRED TO CHANGE ANYTHING BELOW ################################################ +if [ $0 != "./register" ] ; then + echo "Warning: Run this file while in the /bin/ directory (e.g. ./register)" + exit 1 +fi + if [ ! -f $CACHEFILE ] ; then echo "Warning: Configuration cache file missing. Run ./configure" exit 1 diff --git a/version.log b/version.log index 8405db8b8..68b136b42 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="3" -VERSION_BUILD="174" +VERSION_BUILD="176" # $Log$ # +# BUILD : 1.7.3 (176) +# BUGS : +# NOTES : Added check to make sure register script was being run from within the bin/ directory. If ./bin/register was used, the path to cache file would be incorrect (../config.cache) +# # BUILD : 1.7.3 (174) # BUGS : # NOTES : Sorry, another changes file mistake, remember to have a fullstop at the end, AND bug number as [#00] if there is no bug |