Closed kb2ma closed 2 years ago
The command below in src/start.sh appends an "=" to each environment variable name in the generated list:
src/start.sh
$ env | grep -v -w '_' | awk -F: '{ st = index($0,"=");print substr($1,0,st) ","}' | tr -d "\n" SHELL=,SESSION_MANAGER=,QT_ACCESSIBILITY=,COLORTERM=, ...
Changing the argument to awk -F removes the "=", as required by su -w
awk -F
su -w
$ env | grep -v -w '_' | awk -F= '{ st = index($0,"=");print substr($1,0,st) ","}' | tr -d "\n" SHELL,SESSION_MANAGER,QT_ACCESSIBILITY,COLORTERM, ...
Partial fix for #90
Your landr site preview has been successfully deployed to https://landr-balenablocks-repo-browser-preview-91.netlify.app
Deployed with Landr 6.35.1
The command below in
src/start.sh
appends an "=" to each environment variable name in the generated list:Changing the argument to
awk -F
removes the "=", as required bysu -w
Partial fix for #90