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 b3bc22e commit 953e991Copy full SHA for 953e991
scripts/upgrade.sh
@@ -45,10 +45,8 @@ export CCACHE_DISABLE=1
45
46
# Update binary
47
cd ${bindir}/${repo}
48
-cp global.config.json /tmp
49
-rm -rf *
+ls --hide=global.config.json | xargs -d '\n' rm -rf
50
rm -rf .ninja_*
51
-mv /tmp/global.config.json .
52
memory=$(cat /proc/meminfo | grep MemAvailable | awk '{print $2}')
53
let "cpuNumber = memory / 2100000" || cpuNumber=1
54
cmake -DCMAKE_BUILD_TYPE=Release ${srcdir}/${repo} -GNinja
0 commit comments