Skip to content

Commit

Permalink
Refactoring creation of binary folders
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Gallacher committed Jun 13, 2011
1 parent 386ed20 commit 57d44bf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions examples/clock/MaidenClockCommon.php
Expand Up @@ -355,12 +355,9 @@ public function setupFolders($environmentName) {
$environment = $this->getEnvironment($environmentName);
$this->logger->log("Setting up folders");
$this->exec("sudo -u www-data sh -c 'umask 002; mkdir -p {$environment->logPath}'");
$this->exec("sudo -u www-data sh -c 'umask 002; mkdir -p {$environment->cachePath}'");
$this->exec("sudo -u www-data sh -c 'umask 002; mkdir -p {$environment->dataPath}'");
$this->exec("sudo -u www-data sh -c 'umask 002; mkdir -p {$environment->cachePath}/Resource'");
$this->exec("sudo -u www-data sh -c 'umask 002; mkdir -p {$environment->cachePath}/Binary'");
$this->exec("sudo -u www-data sh -c 'umask 002; mkdir -p {$environment->cachePath}/Resourse'");
$this->exec("sudo -u www-data sh -c 'umask 002; mkdir -p {$environment->dataPath}/Binary'");

}

/**
Expand Down

0 comments on commit 57d44bf

Please sign in to comment.