Fix SetEnvVar for Debian

Change-Id: I4152575cc071ea7f51e102a3807b05ed9f89d2fd
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
(cherry picked from commit 14f7603e91)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Allan Sandfeld Jensen
2023-06-12 14:42:12 +02:00
committed by Qt Cherry-pick Bot
parent 235cb3b7b0
commit 349d3e1a2f

View File

@@ -49,7 +49,7 @@ function SetEnvVar {
echo "Setting environment variable $name to $path."
if uname -a |grep -q "Ubuntu"; then
if uname -a |grep -q -E "Ubuntu|Debian"; then
if lsb_release -a |grep "Ubuntu 22.04"; then
echo "export $name=$path" >> ~/.bashrc
echo "export $name=$path" >> ~/.bash_profile