Skip to content

Commit

Permalink
[scripts] add-new-build.sh: fix script name in usage
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdevalias committed Jan 5, 2024
1 parent 977f52d commit e7163b0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/add-new-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@

# ChatGPT Ref: https://chat.openai.com/c/1687798b-30a7-42cd-b8f4-5529ae5f4d1e

# Extract the script name
SCRIPT_NAME="$(basename "$0")"

# Function to display usage instructions
usage() {
echo "Usage: cat input.json | ./process_webpack_build.sh"
echo "Usage: cat input.json | ./${SCRIPT_NAME}"
}

# Check if there's any input on STDIN
Expand Down

0 comments on commit e7163b0

Please sign in to comment.