mirror of
https://github.com/status-im/nimbus-build-system-desktop.git
synced 2025-01-27 05:54:53 +00:00
use xargs
This commit is contained in:
parent
3ea7d959d7
commit
3512a8633b
@ -52,7 +52,7 @@ build-nim: | sanity-checks
|
|||||||
#- allows parallel building with the '+' prefix
|
#- allows parallel building with the '+' prefix
|
||||||
#- rebuilds the Nim compiler if the corresponding submodule is updated
|
#- rebuilds the Nim compiler if the corresponding submodule is updated
|
||||||
update-common: | sanity-checks
|
update-common: | sanity-checks
|
||||||
git submodule foreach --quiet 'git ls-files --exclude-standard --recurse-submodules -z | while read -r -d "" F; do [[ "$$F" =~ ^\..*$$ ]] || rm -rf "$$F"; done'
|
git submodule foreach --quiet 'git ls-files --exclude-standard --recurse-submodules -z | xargs -0 rm -rf'
|
||||||
git submodule update --init --recursive || true
|
git submodule update --init --recursive || true
|
||||||
# changing URLs in a submodule's submodule means we have to sync and update twice
|
# changing URLs in a submodule's submodule means we have to sync and update twice
|
||||||
git submodule sync --quiet --recursive
|
git submodule sync --quiet --recursive
|
||||||
|
Loading…
x
Reference in New Issue
Block a user