Skip to content

Commit

Permalink
Fix locheck-script that fails the build when there is space character…
Browse files Browse the repository at this point in the history
… on PROJECT_DIR path.

Signed-off-by: zx <hudzaifah.lutfi@gmail.com>
  • Loading branch information
zh-hl authored and pixlwave committed Jun 20, 2022
1 parent 6648951 commit a8514ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Riot/target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ targets:
script: |
# homebrew uses a non-standard directory on M1
if [[ $(arch) = arm64 ]]; then export PATH="$PATH:/opt/homebrew/bin"; fi
xcrun --sdk macosx mint run Asana/locheck@0.9.6 discoverlproj --treat-warnings-as-errors --ignore-missing --ignore lproj_file_missing_from_translation $PROJECT_DIR/Riot/Assets
xcrun --sdk macosx mint run Asana/locheck@0.9.6 discoverlproj --treat-warnings-as-errors --ignore-missing --ignore lproj_file_missing_from_translation "$PROJECT_DIR/Riot/Assets"
sources:
- path: ../RiotSwiftUI/Modules
Expand Down
1 change: 1 addition & 0 deletions changelog.d/6296.build
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
locheck-script: fix build fails when there is space character on PROJECT_DIR's path. By Hudzaifah Lutfi.

0 comments on commit a8514ed

Please sign in to comment.