Skip to content

Commit 41dfd36

Browse files
authored
Merge pull request #290 from awesome-doge/patch-2
Exclude deletion of `local.config.json`
2 parents f293da1 + c92c6d6 commit 41dfd36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/upgrade.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ make build_libs -j12
6767

6868
# Update binary
6969
cd ${bindir}/${repo}
70-
ls --hide=global.config.json | xargs -d '\n' rm -rf
70+
ls --hide=global.config.json --hide=local.config.json | xargs -d '\n' rm -rf
7171
rm -rf .ninja_*
7272
memory=$(cat /proc/meminfo | grep MemAvailable | awk '{print $2}')
7373
let "cpuNumber = memory / 2100000" || cpuNumber=1

0 commit comments

Comments
 (0)