summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.$$";