Skip to content

Commit

Permalink
Merge pull request #6 from romancin/develop
Browse files Browse the repository at this point in the history
Fixed pyrocore references to home directory
  • Loading branch information
romancin authored Mar 17, 2019
2 parents d6f6a52 + 577c840 commit 7b3a765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/etc/cont-init.d/60-pyroscope
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if [[ ! -d /config/.pyroscope ]];then
su -c 'touch ~/.bash_completion' abc
su -c 'grep /\.pyroscope/ ~/.bash_completion >/dev/null || echo >> /config/.bash_completion ". ~/.pyroscope/bash-completion.default"' abc
su -c '. ~/.bash_completion' abc

su -c "find /config/.pyroscope -type f |xargs sed -i 's/\~\//\/config\//g'" abc
fi

[[ ! -e /config/.pyroscope/config.ini ]] && \
Expand Down

0 comments on commit 7b3a765

Please sign in to comment.