source:
tags/1.7.1/ci/install-cffi.bash
| Last change on this file was 15309, checked in by , 5 years ago | |
|---|---|
| File size: 406 bytes | |
| Line | |
|---|---|
| 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | dir="cffi" |
| 4 | uri="https://github.com/armedbear/${dir}" |
| 5 | root="${HOME}/quicklisp/local-projects" |
| 6 | tag="abcl/easye-20200602a" |
| 7 | |
| 8 | mkdir -p ${root} |
| 9 | pushd ${root} |
| 10 | |
| 11 | if [[ ! -d ${dir} ]]; then |
| 12 | git clone ${uri} ${dir} |
| 13 | fi |
| 14 | |
| 15 | pushd ${dir} |
| 16 | if [[ -d .hg ]]; then |
| 17 | hg pull |
| 18 | hg update -r $tag |
| 19 | hg sum -v |
| 20 | else |
| 21 | git pull |
| 22 | git checkout $tag |
| 23 | git show-ref |
| 24 | git rev-parse |
| 25 | fi |
| 26 | popd |
| 27 | |
| 28 | popd |
Note: See TracBrowser
for help on using the repository browser.