Skip to content

Commit c92c6d6

Browse files
authored
Exclude deletion of local.config.json
#205
1 parent 40daf3c commit c92c6d6

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)