File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1- #! /bin/sh set -e # fail on first error SCRIPT_DIR=$(dirname "$0") dotnet run -c Release --project $SCRIPT_DIR/CI/NGO.Cookbook.csproj "$@"
1+ #! /bin/sh
2+
3+ set -e # fail on first error
4+
5+ SCRIPT_DIR=$( dirname " $0 " )
6+ dotnet run -c Release --project $SCRIPT_DIR /CI/NGO.Cookbook.csproj " $@ "
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ def regenerate_wrench():
4040 if platform .system () != "Windows" :
4141 os .chmod (script_path , 0o755 )
4242
43- subprocess .run (script_path , check = True , shell = True )
43+ subprocess .run ([ script_path ] , check = True , shell = True )
4444
4545 except subprocess .CalledProcessError as e :
4646 raise Exception (f"Error: The CI regeneration script failed with exit code { e .returncode } ." )
You can’t perform that action at this time.
0 commit comments