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 d51d20e commit b3bc22eCopy full SHA for b3bc22e
scripts/upgrade.sh
@@ -44,11 +44,10 @@ export CXX=/usr/bin/clang++
44
export CCACHE_DISABLE=1
45
46
# Update binary
47
-cd ${bindir}
48
-cp ${repo}/global.config.json /tmp
49
-rm -rf ${repo}
50
-mkdir ${repo}
51
-cd ${repo}
+cd ${bindir}/${repo}
+cp global.config.json /tmp
+rm -rf *
+rm -rf .ninja_*
52
mv /tmp/global.config.json .
53
memory=$(cat /proc/meminfo | grep MemAvailable | awk '{print $2}')
54
let "cpuNumber = memory / 2100000" || cpuNumber=1
0 commit comments