Revision d62a2f6c
Added by Jim Pingle almost 13 years ago
tmp/post_upgrade_command.php | ||
---|---|---|
19 | 19 |
} |
20 | 20 |
|
21 | 21 |
$newslicedir = ""; |
22 |
if ($ARGV[1] != "")
|
|
23 |
$newslicedir = '/tmp/' . $ARGV[1];
|
|
22 |
if ($argv[1] != "")
|
|
23 |
$newslicedir = '/tmp/' . $argv[1];
|
|
24 | 24 |
system("echo \"Adding serial port settings ({$newslicedir})...\" >> /conf/upgrade_log.txt"); |
25 | 25 |
setup_serial_port("upgrade", $newslicedir); |
26 | 26 |
|
Also available in: Unified diff
Fix case, it's not ARGV it's argv for php