We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec3a8b9 commit d51d20eCopy full SHA for d51d20e
scripts/upgrade.sh
@@ -45,11 +45,11 @@ export CCACHE_DISABLE=1
45
46
# Update binary
47
cd ${bindir}
48
-cp ${repo}/global.config.json .
+cp ${repo}/global.config.json /tmp
49
rm -rf ${repo}
50
mkdir ${repo}
51
cd ${repo}
52
-cp ../global.config.json .
+mv /tmp/global.config.json .
53
memory=$(cat /proc/meminfo | grep MemAvailable | awk '{print $2}')
54
let "cpuNumber = memory / 2100000" || cpuNumber=1
55
cmake -DCMAKE_BUILD_TYPE=Release ${srcdir}/${repo} -GNinja
0 commit comments