Skip to content

Commit 588bda3

Browse files
committed
do not delete local ls config on upgrade
1 parent 1b88179 commit 588bda3

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)