Rename upload directory.

This commit is contained in:
Daniel James
2015-10-10 12:31:53 +01:00
parent 84be2b3fb9
commit 3329a75d63

View File

@@ -21,15 +21,15 @@ try {
Process::run("git archive master | tar -x -C {$dst}", __DIR__);
Process::run("rm -r {$dst}/nbproject");
Process::run("rsync -az {$dst}/ dnljms@boost.org:boost-update/");
echo "rsync -az {$dst}/ dnljms@boost.org:boost-update/";
Process::run("rsync -az {$dst}/ dnljms@boost.org:boost-tasks/");
echo "rsync -az {$dst}/ dnljms@boost.org:boost-tasks/";
}
catch (\RuntimeException $e) {
Log::error("Runtime exception: {$e}");
exit(1);
}
// Return an error code is an error was logged.
// Return an error code if an error was logged.
if (Log::$error) {
exit(1);
}