Skip to content

Commit 8d02640

Browse files
committed
typo
1 parent b8d573e commit 8d02640

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Tools/regenerate-ci.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
#!/bin/shset -e # fail on first errorSCRIPT_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 "$@"

Tools/scripts/release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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}.")

0 commit comments

Comments
 (0)