aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/check-near-bragg4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/check-near-bragg b/scripts/check-near-bragg
index 7fd7d013..632e1285 100755
--- a/scripts/check-near-bragg
+++ b/scripts/check-near-bragg
@@ -15,7 +15,9 @@ if ( !($args eq "") ) {
printf("Using default arguments for hdfsee: %s\n", $args);
}
-open(FH, $ARGV[0]);
+my $file = $ARGV[0];
+
+open(FH, $file);
open(TMP, "> list.tmp");
my $statbuf = stat($file);