Commit 188f087b authored by Mattia Rizzolo's avatar Mattia Rizzolo

move the current build to /htdocs/ to match my preferred apache configuration

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mapreri@ubuntu.com>
parent 5a8b0357
...@@ -25,7 +25,7 @@ bzr_needs_update() { ...@@ -25,7 +25,7 @@ bzr_needs_update() {
name="$1" name="$1"
repo="${DIR_BASE}/${name}/repo" repo="${DIR_BASE}/${name}/repo"
current="${DIR_BASE}/${name}/current/.revision" current="${DIR_BASE}/${name}/htdocs/.revision"
if [[ ! -f "${current}" ]]; then if [[ ! -f "${current}" ]]; then
return 0 return 0
......
...@@ -25,7 +25,7 @@ deploy_switch() { ...@@ -25,7 +25,7 @@ deploy_switch() {
build="$2" build="$2"
base="${DIR_BASE}/${name}" base="${DIR_BASE}/${name}"
current="${base}/current" current="${base}/htdocs"
# Switch the current/ symlink to the new build # Switch the current/ symlink to the new build
ln -sfT "${build}" "${current}" ln -sfT "${build}" "${current}"
......
...@@ -27,7 +27,7 @@ git_needs_update() { ...@@ -27,7 +27,7 @@ git_needs_update() {
name="$1" name="$1"
repo="${DIR_BASE}/${name}/repo" repo="${DIR_BASE}/${name}/repo"
current="${DIR_BASE}/${name}/current/.commit" current="${DIR_BASE}/${name}/htdocs/.commit"
if [[ ! -f "${current}" ]]; then if [[ ! -f "${current}" ]]; then
return 0 return 0
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment