Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

.

  • Loading branch information...
commit 83c28ae846920bcde967350eb2a7b8f728c81c95 1 parent 906e153
@davglass authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 index.php
View
6 index.php
@@ -10,7 +10,7 @@ function execGit($cmd) {
exec($cmd . " 2>&1", $output, $result);
umask($oldUMask);
- echo('<pre>'.implode($output, "\n").'</pre>');
+ echo('<pre># '.$cmd."\n\n".implode($output, "\n").'</pre>');
}
if ($_GET['fetch'] && $_GET['version']) {
@@ -37,8 +37,8 @@ function execGit($cmd) {
chdir($base);
execGit($git.' checkout master');
execGit($git.' pull');
- execGit($git.' checkout '.$_GET['fetch']);
- execGit('cp -R '.$base.'/build '.$tag.'/build');
+ execGit($git.' checkout -b '.$_GET['fetch']);
+ exec('cp -R '.$base.'/build '.$tag.'/build');
execGit($git.' checkout master');
echo('Tag sync done, you can now use this tag as a combo URL');
Please sign in to comment.
Something went wrong with that request. Please try again.