diff options
author | dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-08-04 18:36:38 +0000 |
---|---|---|
committer | dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-08-04 18:36:38 +0000 |
commit | 02c5ac9c67be1e3ac1c0203f79da1e5489736aa0 (patch) | |
tree | a7ef599534c89efa04cf7cbfbace08d3764788c3 | |
parent | ca48e3ce662e8160932256c1f877adee3aa3ee4e (diff) |
BUILD : 1.7.4 (310) BUGS : none NOTES : Fixed am script to run indent on src dir if it exists.
git-svn-id: svn://svn.anope.org/anope/trunk@310 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@189 5417fbe8-f217-4b02-8779-1006273d7864
-rwxr-xr-x | src/bin/am | 8 | ||||
-rw-r--r-- | version.log | 6 |
2 files changed, 11 insertions, 3 deletions
diff --git a/src/bin/am b/src/bin/am index 650449437..f9819303b 100755 --- a/src/bin/am +++ b/src/bin/am @@ -376,8 +376,12 @@ NOTES : "; die ("Aborting...\n") unless &getans(); print "*** Running Indent...\n"; - system("indent -kr -nut *.c"); - system("rm -f *~"); + my $prefix="."; + if (-d src) { + $prefix="src"; + } + system("indent -kr -nut $prefix/*.c"); + system("rm -f $prefix/*~"); print "*** Bumping the revision number...\n"; # Re-write the control file diff --git a/version.log b/version.log index 24295960f..cbfa6a2d2 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="4" -VERSION_BUILD="309" +VERSION_BUILD="310" # $Log$ # +# BUILD : 1.7.4 (310) +# BUGS : none +# NOTES : Fixed am script to run indent on src dir if it exists. +# # BUILD : 1.7.4 (309) # BUGS : none # NOTES : Added Hungarian and Polish language files. |