Merge remote-tracking branch 'origin/5.9.4' into 5.9

Change-Id: I1c5c5e6e938f33dd8b0b9c40e64d509eeec25774
This commit is contained in:
Liang Qi
2018-01-18 23:41:16 +01:00
2 changed files with 6 additions and 2 deletions

View File

@@ -50,4 +50,8 @@ appPrefix="cmake-$version-Linux-x86_64"
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$targetFolder" "$appPrefix"
echo "Adding $targetFolder/bin to PATH"
echo "export PATH=$targetFolder/bin:\$PATH" >> ~/.bashrc
if uname -a |grep -q "Ubuntu"; then
echo "export PATH=$targetFolder/bin:\$PATH" >> ~/.profile
else
echo "export PATH=$targetFolder/bin:\$PATH" >> ~/.bashrc
fi