Skip to content

Commit

Permalink
fix: shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
tarepan committed Mar 17, 2024
1 parent 1968353 commit 8a583a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build_util/create_venv_and_generate_licenses.bash
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ VENV_PATH="licenses_venv"

python -m venv $VENV_PATH
if [ -d "$VENV_PATH/Scripts" ]; then
# shellcheck disable=SC1091
source $VENV_PATH/Scripts/activate
else
# shellcheck disable=SC1091
source $VENV_PATH/bin/activate
fi

Expand Down
2 changes: 1 addition & 1 deletion build_util/process_voicevox_resource.bash
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ python build_util/merge_update_infos.py \
"${DOWNLOAD_RESOURCE_PATH}/engine/engine_manifest_assets/update_infos.json" \
engine_manifest_assets/update_infos.json

for f in $(ls $DOWNLOAD_RESOURCE_PATH/engine/engine_manifest_assets/* | grep -v update_infos.json); do
for f in $(ls "${DOWNLOAD_RESOURCE_PATH}"/engine/engine_manifest_assets/* | grep -v update_infos.json); do
cp "${f}" ./engine_manifest_assets/
done

0 comments on commit 8a583a6

Please sign in to comment.