Skip to content

Commit c6bfcbb

Browse files
CopilotPowerKiKi
andcommitted
Fix CI: Use perl interpreter for gitolite install script instead of bash
The gitolite install script is a Perl script and must be run with perl, not bash. Running it with bash was causing syntax errors as bash doesn't understand Perl syntax. This fix ensures the gitolite installation step works correctly in CI. Co-authored-by: PowerKiKi <[email protected]>
1 parent 3fe3846 commit c6bfcbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
run: |
122122
sudo useradd --create-home git
123123
sudo -n -u git -i mkdir bin
124-
sudo -n -u git -i bash $GITHUB_WORKSPACE/gitolite/install -to /home/git/bin
124+
sudo -n -u git -i perl $GITHUB_WORKSPACE/gitolite/install -to /home/git/bin
125125
sudo cp plugins/redmine_git_hosting/ssh_keys/redmine_gitolite_admin_id_rsa.pub /home/git/
126126
sudo chown git.git /home/git/redmine_gitolite_admin_id_rsa.pub
127127
sudo -n -u git -i bin/gitolite setup -pk redmine_gitolite_admin_id_rsa.pub

0 commit comments

Comments
 (0)