mirror of
git://code.qt.io/qt/qt5.git
synced 2026-02-01 19:36:04 +08:00
Fix SetEnvVar for Debian
Pick-to: 6.6 6.5 Change-Id: I4152575cc071ea7f51e102a3807b05ed9f89d2fd Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
@@ -12,7 +12,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
|
||||
|
||||
Reference in New Issue
Block a user