Skip to content

Commit 4b3282b

Browse files
authored
ci: add anchor in secure path
1 parent 74b0cd2 commit 4b3282b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/deployer/init_script.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,8 @@ deployr ALL=(ALL) NOPASSWD: /opt/deployer/bin/check-parameter.sh
233233
deployr ALL=(ALL) NOPASSWD: /usr/bin/python3 /opt/deployer/bin/backup_restore_env.py' > /etc/sudoers.d/deployr_sudo_commands
234234

235235
# Add goloop binary path to secure path
236-
sed -i '/secure_path/ s/"$/:\/usr\/local\/go\/bin:\/opt\/ibc\/bin:\/opt\/java\/jdk-11.0.18+10\/bin:\/root\/.local\/share\/solana\/install\/active_release\/bin"/' /etc/sudoers
236+
sed -i '/secure_path/ s/"$/:\/usr\/local\/go\/bin:\/opt\/ibc\/bin:\/opt\/java\/jdk-11.0.18+10\/bin:\/root\/.local\/share\/solana\/install\/active_release\/bin:\/root\/.cargo\/bin\/"/' /etc/sudoers
237+
237238
# Create Aliases for the user 'deployr'
238239
echo "## Aliases
239240
alias fetch-walletkeys='sudo /opt/deployer/bin/fetch_keys.sh'

0 commit comments

Comments
 (0)