pi-top / pi-top-4-.NET-SDK

pi-top [4] .NET Core SDK with .NET Interactive Extensions
MIT License
48 stars 6 forks source link

Fix setup-device.sh to work with unset LD_LIBRARY_PATH #15

Closed angusjfw closed 4 years ago

angusjfw commented 4 years ago

I ran the setup-device.sh script, as per the README, to install this on my pi-top. The script bailed after this output:

Updating PATH, DOTNET_ROOT and LD_LIBRARY_PATH environment variables...
bash: line 39: LD_LIBRARY_PATH: unbound variable

I don't think it's unusual to have $LD_LIBRARY_PATH unset (unlike $PATH used next to it), so I've updated the script to use an empty string default for it.