Skip to content
Browse files

Syntax changes.

  • Loading branch information...
1 parent 4acd425 commit f8336470dcb3b2be301e99b405322520cb4f3c09 @wayneeseguin wayneeseguin committed Apr 18, 2012
Showing with 12 additions and 6 deletions.
  1. +12 −6 shell/functions
View
18 shell/functions
@@ -205,7 +205,8 @@ configure()
;;
(config|application) # Configuration paths.
if [[ "${_path}" == "application" ]]
- then _path="application/config"; fi
+ then _path="application/config"
+ fi
if path exists "${shared_path}/${_path}"
then
@@ -258,7 +259,8 @@ configure()
;;
(*) # All other paths
if path exists "${stage_path}/${_path}"
- then path remove "${stage_path}/${_path}" ; fi
+ then path remove "${stage_path}/${_path}"
+ fi
log step " link ~ ${_path} ( ${shared_path##${project_path}/}/${_path} => ${stage_path##${project_path}/}/${_path} )"
@@ -280,16 +282,20 @@ record()
paths exist "${release_path}" || return 0 # Release failed, nothing to do...
if variable is nonempty revision
- then file write string "${revision}" to "${release_path}/revision" ; fi
+ then file write string "${revision}" to "${release_path}/revision"
+ fi
if variable is nonempty branch
- then file write string "${branch}" to "${release_path}/branch" ; fi
+ then file write string "${branch}" to "${release_path}/branch"
+ fi
if variable is nonempty repository_url # TODO: get this from the .uri file.
- then file write string "${repository_url}" to "${release_path}/repository_url" ; fi
+ then file write string "${repository_url}" to "${release_path}/repository_url"
+ fi
if variable is nonempty deploy_timestamp
- then files write string "${deploy_timestamp}" to "${release_path}/timestamp" ; fi
+ then files write string "${deploy_timestamp}" to "${release_path}/timestamp"
+ fi
}
remove_releases()

0 comments on commit f833647

Please sign in to comment.
Something went wrong with that request. Please try again.