/belle2/masterclass/update.php |
---|
2,15 → 2,11 |
<body> |
<?php |
$hostname = gethostname(); |
if ($hostname != "belle2.ijs.si") { |
$output = shell_exec("curl -L http://belle2.ijs.si/masterclass_latest.tgz | tar xzv "); |
//$output = shell_exec("svn update"); |
echo "<pre>$output</pre>"; |
//$output = shell_exec("ls -latr tmp"); |
//echo "<pre>$output</pre>"; |
} |
?> |
<h3>Update completed</h3> |
/belle2/masterclass/snapshot.sh |
---|
1,0 → 0,0 |
tar czvf ../masterclass_latest.tgz *.* data js --exclude='*.pcm' --exclude='*.so' --exclude='*.d' src |
tar czvf ../masterclass_latest.tgz *.* data js src |