Skip to content

Commit a9f424b

Browse files
authored
Merge pull request #469 from yungwine/local-config
do not delete local ls config on upgrade
2 parents ed7bd5f + 588bda3 commit a9f424b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mytonctrl/scripts/upgrade.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export CCACHE_DISABLE=1
8383

8484
# Update binary
8585
cd ${bindir}/${repo}
86-
ls --hide=global.config.json | xargs -d '\n' rm -rf
86+
ls --hide="*.config.json" | xargs -d '\n' rm -rf
8787
rm -rf .ninja_*
8888
memory=$(cat /proc/meminfo | grep MemAvailable | awk '{print $2}')
8989
cpuNumber=$(cat /proc/cpuinfo | grep "processor" | wc -l)

0 commit comments

Comments
 (0)