HWMgmt-DeviceMgr-DeviceManager icon indicating copy to clipboard operation
HWMgmt-DeviceMgr-DeviceManager copied to clipboard

Error msg from 'make go-install'

Open jcleung5549 opened this issue 2 years ago • 2 comments

Got the following error

mkdir -p ~/app/bin
!!Please use this command to take effect environment variable!!
source /root/.bashrc
/root/.bashrc: line 6: PS1: unbound variable
make: *** [Makefile:95: go-install] Error 1

The .bashrc file

root# head /root/.bashrc
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
[ -z "$PS1" ] && return

# don't put duplicate lines in the history. See bash(1) for more options

jcleung5549 avatar May 10 '23 17:05 jcleung5549

Also

root# echo $PS1
\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$

jcleung5549 avatar May 10 '23 17:05 jcleung5549

@jcleung5549 I believe this PR resolves this issue. Could you reproduce the steps, that produced the error, and let me know if the issue is resolved?

ehaligow avatar Jul 25 '23 10:07 ehaligow