Rev 276 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 276 | Rev 348 | ||
|---|---|---|---|
| Line 4... | Line 4... | ||
| 4 | 4 | ||
| - | 5 | $hostname = gethostname(); |
|
| - | 6 | if ($hostname != "belle2.ijs.si") { |
|
| 5 | $output = shell_exec("curl -L http://belle2.ijs.si/masterclass_latest.tgz | tar xzv "); |
7 | $output = shell_exec("curl -L http://belle2.ijs.si/masterclass_latest.tgz | tar xzv "); |
| 6 | //$output = shell_exec("svn update"); |
8 | //$output = shell_exec("svn update"); |
| 7 | echo "<pre>$output</pre>"; |
9 | echo "<pre>$output</pre>"; |
| 8 | //$output = shell_exec("ls -latr tmp"); |
10 | //$output = shell_exec("ls -latr tmp"); |
| 9 | //echo "<pre>$output</pre>"; |
11 | //echo "<pre>$output</pre>"; |
| - | 12 | } |
|
| - | 13 | ||
| 10 | ?> |
14 | ?> |
| 11 | 15 | ||
| 12 | <h3>Update completed</h3> |
16 | <h3>Update completed</h3> |
| 13 | <a href="index.php">Start with the exercises</a> |
17 | <a href="index.php">Start with the exercises</a> |
| 14 | </body> |
18 | </body> |