Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Commit

Permalink
Fix binary call path on Windows. (#384)
Browse files Browse the repository at this point in the history
* fix %mypath%

Signed-off-by: maurineimirandazup <[email protected]>

* fix1

Signed-off-by: maurineimirandazup <[email protected]>

* fix2

Signed-off-by: maurineimirandazup <[email protected]>

* fix

Signed-off-by: maurineimirandazup <[email protected]>
  • Loading branch information
maurineimirandazup authored Oct 18, 2021
1 parent 6e05950 commit 8fdec19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/create_formula/languages/go/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ BIN_WINDOWS=$BIN_FOLDER_WINDOWS/$BIN_NAME.exe
{
echo "@ECHO OFF"
echo "SET mypath=%~dp0"
echo "start /B /WAIT %mypath:~0,-1%/windows/main.exe"
echo "start /B /D "%mypath%" /WAIT windows\main.exe"
} >> $BAT

#docker:
Expand Down

0 comments on commit 8fdec19

Please sign in to comment.