diff options
author | zapashcanon <leo@ndrs.fr> | 2018-02-21 22:42:10 +0100 |
---|---|---|
committer | zapashcanon <leo@ndrs.fr> | 2018-04-05 22:05:43 +0100 |
commit | 250502b01340ec6bedace85c6a2d4a4e57a107cf (patch) | |
tree | 256fd7d0e38d2bdc24350eb18e61b0fb73e44215 /dev/ci/ci-template.sh | |
parent | b7938d0a51cdef8076bf5e1a58907b845a3fcc3d (diff) |
Improve shell scripts
Diffstat (limited to 'dev/ci/ci-template.sh')
-rwxr-xr-x | dev/ci/ci-template.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dev/ci/ci-template.sh b/dev/ci/ci-template.sh index 25da01a82..e77a55304 100755 --- a/dev/ci/ci-template.sh +++ b/dev/ci/ci-template.sh @@ -1,12 +1,12 @@ #!/usr/bin/env bash ci_dir="$(dirname "$0")" -source ${ci_dir}/ci-common.sh +. "${ci_dir}/ci-common.sh" Template_CI_BRANCH=master Template_CI_GITURL=https://github.com/Template/Template -Template_CI_DIR=${CI_BUILD_DIR}/Template +Template_CI_DIR="${CI_BUILD_DIR}/Template" -git_checkout ${Template_CI_BRANCH} ${Template_CI_GITURL} ${Template_CI_DIR} +git_checkout "${Template_CI_BRANCH}" "${Template_CI_GITURL}" "${Template_CI_DIR}" -( cd ${Template_CI_DIR} && make ) +( cd "${Template_CI_DIR}" && make ) |