updated patch system
This commit is contained in:
parent
bb64cea202
commit
6c9c66bd7a
10 changed files with 434 additions and 208 deletions
13
run.sh
Executable file
13
run.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Check if --path argument is provided
|
||||
if [[ "$#" -lt 2 ]] || [[ "$1" != "--path" ]]; then
|
||||
echo "Usage: $0 --path <path-to-apply>"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Extract the --path value
|
||||
ROOT_PATH=$2
|
||||
|
||||
# Run the Go application with the specified path
|
||||
go run main.go pref.go standard.go --path "$ROOT_PATH"
|
Loading…
Add table
Add a link
Reference in a new issue