Skip to content

Commit 6c476ad

Browse files
committed
fix: fix onex.sh grep key match error
2 parents 09318f9 + 6915f32 commit 6c476ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/installation/onex.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ onex::onex::prepare()
249249
pushd "${ONEX_ROOT}" >/dev/null 2>&1
250250

251251
# 2. 配置 $HOME/.bashrc 添加一些便捷入口
252-
if ! grep -q 'Alias for onex quick access' $HOME/.bashrc; then
252+
if ! grep -q 'Alias and environments for onex quick access' $HOME/.bashrc; then
253253
cat << 'EOF' >> $HOME/.bashrc
254254
# Alias and environments for onex quick access
255255
export GOSRC="$WORKSPACE/golang/src"

0 commit comments

Comments
 (0)