summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/bin/am8
-rw-r--r--version.log6
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.