Commit 57650d6c authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor fixes.

parent 473b0590
...@@ -64,13 +64,13 @@ if (defined($options{"d"})) { ...@@ -64,13 +64,13 @@ if (defined($options{"d"})) {
$debug = 1; $debug = 1;
} }
if (defined($options{"x"})) { if (defined($options{"x"})) {
$destx = 1; $destx = $options{"x"};
} }
if (defined($options{"y"})) { if (defined($options{"y"})) {
$desty = 1; $desty = $options{"y"};
} }
if (defined($options{"o"})) { if (defined($options{"o"})) {
$desto = 1; $desto = $options{"o"};
} }
if (@ARGV != 1) { if (@ARGV != 1) {
usage(); usage();
...@@ -126,7 +126,7 @@ my $inject_string = "$TEVC -e $pid/$eid now $vname SETDEST " . ...@@ -126,7 +126,7 @@ my $inject_string = "$TEVC -e $pid/$eid now $vname SETDEST " .
"X=" . $destx . " Y=" . $desty . " ORIENTATION=" . $desto; "X=" . $destx . " Y=" . $desty . " ORIENTATION=" . $desto;
if ($debug) { if ($debug) {
print "$inject_string\n"; print $inject_string . "\n";
} }
system($inject_string) && system($inject_string) &&
......
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