mirror of
https://github.com/sharkdp/bat
synced 2026-06-09 10:03:18 +00:00
Ensure submodules are updated before creating asset cache
This commit is contained in:
Vendored
+4
@@ -3,6 +3,10 @@ set -euo pipefail
|
||||
|
||||
ASSET_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
# Ensure submodules are initialized.
|
||||
git submodule init
|
||||
git submodule update
|
||||
|
||||
# Always remove the local cache to avoid any confusion
|
||||
bat cache --clear
|
||||
|
||||
|
||||
Reference in New Issue
Block a user