mirror of
git://code.qt.io/qt/qt5.git
synced 2026-05-09 04:27:50 +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
|
sudo make install
|
||||||
|
|
||||||
rm -rf "$targetFile"
|
rm -rf "$targetFile"
|
||||||
rm -rf "$tmpFolder/gcc-$version"
|
sudo rm -rf "$tmpFolder/gcc-$version"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# openSUSE has update-alternatives under /usr/sbin and it has grouped the commands by means of master and slave links
|
# 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