summaryrefslogtreecommitdiffstats
path: root/coin/provisioning
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2018-01-18 23:41:16 +0100
committerLiang Qi <liang.qi@qt.io>2018-01-18 23:41:16 +0100
commit57ba8230bdfe7a9c2b9f11368f4e228f3132861b (patch)
treefc489dea5091cce172a58f46503e2d78ce6809f8 /coin/provisioning
parent99595f44f1b3a3c35d8decc671a8933f65220cf3 (diff)
parent2348ead5295079a9ddcde4d339e016f7c3d58b6d (diff)
Merge remote-tracking branch 'origin/5.9.4' into 5.9
Diffstat (limited to 'coin/provisioning')
-rwxr-xr-xcoin/provisioning/common/linux/cmake_linux.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/coin/provisioning/common/linux/cmake_linux.sh b/coin/provisioning/common/linux/cmake_linux.sh
index 7aaa4cb4..27358a20 100755
--- a/coin/provisioning/common/linux/cmake_linux.sh
+++ b/coin/provisioning/common/linux/cmake_linux.sh
@@ -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