fix: Allow create_contributor_repo_lists.sh to accept accounts.json path
This commit is contained in:
parent
13b871cbb2
commit
4b560087b1
@ -1,6 +1,12 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
ACCOUNTS_FILE="accounts.json"
|
if [ -z "$1" ]; then
|
||||||
|
# If no argument is provided, assume the script is run from the project root
|
||||||
|
# and accounts.json is in the same directory.
|
||||||
|
ACCOUNTS_FILE="accounts.json"
|
||||||
|
else
|
||||||
|
ACCOUNTS_FILE="$1"
|
||||||
|
fi
|
||||||
OUTPUT_DIR="contributor_repos"
|
OUTPUT_DIR="contributor_repos"
|
||||||
|
|
||||||
# Check if accounts.json exists
|
# Check if accounts.json exists
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user