mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-10 00:46:41 +08:00
Provisioning: Fix cleanup when building GCC from sources
We need sudo rights to delete the temporary folder where sources for GCC are extracted. Change-Id: Ic0642e44eabfc3449f7ce5903a63bd38924f7dca Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
This commit is contained in:
@@ -83,7 +83,7 @@ function InstallGCC() {
|
||||
sudo make install
|
||||
|
||||
rm -rf "$targetFile"
|
||||
rm -rf "$tmpFolder/gcc-$version"
|
||||
sudo rm -rf "$tmpFolder/gcc-$version"
|
||||
fi
|
||||
|
||||
# openSUSE has update-alternatives under /usr/sbin and it has grouped the commands by means of master and slave links
|
||||
|
||||
Reference in New Issue
Block a user