Skip to content

Commit 7a0ff1b

Browse files
hyperpolymathclaude
andcommitted
chore: hypatia dispatch auto-fixes (tmp-paths, shell-quoting, annotations)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7aee34b commit 7a0ff1b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

init-wiki.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if [[ -z "$REPO" ]]; then
99
exit 1
1010
fi
1111

12-
WIKI_DIR="/tmp/wiki-init-$$"
12+
WIKI_DIR=""$HYPATIA_TMPDIR/wiki-init-"$$"
1313
mkdir -p "$WIKI_DIR"
1414
cd "$WIKI_DIR" || exit 1
1515

sync-repos-parallel.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ REPO_DIR="${HOME}/repos"
33
mkdir -p "$REPO_DIR"
44

55
echo "Fetching repo list..."
6-
gh repo list --limit 500 --json name,sshUrl --jq '.[] | .name + "|" + .sshUrl' > /tmp/repos.txt
6+
gh repo list --limit 500 --json name,sshUrl --jq '.[] | .name + "|" + .sshUrl' > "$HYPATIA_TMPDIR/repos.txt"
77

8-
TOTAL=$(wc -l < /tmp/repos.txt)
8+
TOTAL=$(wc -l < "$HYPATIA_TMPDIR/repos.txt")
99
echo "Found $TOTAL repos"
1010

1111
sync_repo() {
@@ -28,7 +28,7 @@ sync_repo() {
2828
export -f sync_repo
2929
export REPO_DIR
3030

31-
cat /tmp/repos.txt | xargs -P 8 -I {} bash -c 'sync_repo "$@"' _ {}
31+
cat "$HYPATIA_TMPDIR/repos.txt" | xargs -P 8 -I {} bash -c 'sync_repo "$@"' _ {}
3232

3333
echo ""
3434
echo "Done! Repos in $REPO_DIR:"

0 commit comments

Comments
 (0)