Commit be6545b6 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Fix minor syntax errors.

parent d7f4f5ee
#!/usr/bin/perl -wT #!/usr/bin/perl -wT
# #
# EMULAB-COPYRIGHT # EMULAB-COPYRIGHT
# Copyright (c) 2000-2005 University of Utah and the Flux Group. # Copyright (c) 2000-2006 University of Utah and the Flux Group.
# All rights reserved. # All rights reserved.
# #
use English; use English;
...@@ -1059,7 +1059,7 @@ sub GetNSFile() ...@@ -1059,7 +1059,7 @@ sub GetNSFile()
my $copyeid = $2; my $copyeid = $2;
my $copytag = $3; my $copytag = $3;
if ($copytag == "") { if ($copytag eq "") {
GetNSFileFromExperiment($copypid, $copyeid); GetNSFileFromExperiment($copypid, $copyeid);
} }
else { else {
...@@ -1078,7 +1078,7 @@ sub GetNSFile() ...@@ -1078,7 +1078,7 @@ sub GetNSFile()
# archive instead of what is currently in the filesystem. # archive instead of what is currently in the filesystem.
# #
my $exptidx = $1; my $exptidx = $1;
my $copytag = ($2 == "" ? undef : $2); my $copytag = ($2 eq "" ? undef : $2);
my $query_result = my $query_result =
DBQueryFatal("select pid,eid from experiment_stats ". DBQueryFatal("select pid,eid from experiment_stats ".
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment