Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request serby#3 from tomgallacher/master
Refactoring creation of Binary folders
  • Loading branch information
serby committed Jun 13, 2011
2 parents 386ed20 + 57d44bf commit 9750085
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 9750085

Please sign in to comment.