Skip to content

Commit

Permalink
wip: try cloning a specific branch
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneyJackson committed Apr 22, 2024
1 parent c56a258 commit 1a17ac6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ tasks:

- name: Install PLCC
command: |
PLCC_GIT_COMMIT=reorg /bin/bash -c "$(\
PLCC_GIT_BRANCH=reorg /bin/bash -c "$(\
\curl -fsSL https://github.com/ourPLCC/plcc/raw/reorg/installers/plcc/install.bash \
)" >> ~/.bashrc
exec bash
3 changes: 1 addition & 2 deletions installers/plcc/install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
set -euo pipefail

PLCC_HOME="${HOME}/.local/lib/plcc"
>&2 git clone https://github.com/ourPLCC/plcc.git "${PLCC_HOME}"
>&2 git -C "${PLCC_HOME}" checkout "${PLCC_GIT_COMMIT:-main}"
git clone -b "${PLCC_GIT_BRANCH:-main}" https://github.com/ourPLCC/plcc.git "${PLCC_HOME}"
echo "# Add the following line to the end of your .bashrc or .zshrc"
"${PLCC_HOME}/installers/plcc/rchook.bash"

0 comments on commit 1a17ac6

Please sign in to comment.