summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-05-06 17:18:49 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-05-06 17:18:49 (GMT)
commitbb86785ce5b597cdc007f8494c6649b01e386455 (patch)
treeb272a6edd5a4dd4f7752c4a19554eecc0e6b1603 /bin
parenta2a766f3340a1886cd048cf442958b733e9ead96 (diff)
downloadhdf5-bb86785ce5b597cdc007f8494c6649b01e386455.zip
hdf5-bb86785ce5b597cdc007f8494c6649b01e386455.tar.gz
hdf5-bb86785ce5b597cdc007f8494c6649b01e386455.tar.bz2
[svn-r397] Finally! The "versinc" file now runs when files are checked in and
automagically increments the minor release number.
Diffstat (limited to 'bin')
-rw-r--r--bin/versinc2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/versinc b/bin/versinc
index 93a48cd..76d07e1 100644
--- a/bin/versinc
+++ b/bin/versinc
@@ -2,7 +2,9 @@
require 5.003;
use Cwd;
+# Get the current directory and build the source files name based on it.
($cwd)=(cwd()=~m#(.*?hdf5)/.*#);
+
$hdr = "$cwd/src/H5public.h";
$bak = "$cwd/src/H5public.h~";
$tmp = "$cwd/src/H5public.$$";